Home / Function/ min_depth() — tailwindcss Function Reference

min_depth() — tailwindcss Function Reference

Architecture documentation for the min_depth() function in walk.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  f7080f3c_9f46_2dbc_86ce_d04eb2608c59["min_depth()"]
  7aa6c94c_9bb2_b710_8193_8ab9ba9d0779["min_depth()"]
  7aa6c94c_9bb2_b710_8193_8ab9ba9d0779 -->|calls| f7080f3c_9f46_2dbc_86ce_d04eb2608c59
  9d894c7c_30e0_c74a_cfb3_a68f088d0048["build()"]
  9d894c7c_30e0_c74a_cfb3_a68f088d0048 -->|calls| f7080f3c_9f46_2dbc_86ce_d04eb2608c59
  7aa6c94c_9bb2_b710_8193_8ab9ba9d0779["min_depth()"]
  f7080f3c_9f46_2dbc_86ce_d04eb2608c59 -->|calls| 7aa6c94c_9bb2_b710_8193_8ab9ba9d0779
  style f7080f3c_9f46_2dbc_86ce_d04eb2608c59 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 663–669

    pub fn min_depth(&mut self, depth: Option<usize>) -> &mut WalkBuilder {
        self.min_depth = depth;
        if self.max_depth.is_some() && self.min_depth.is_some() && self.min_depth > self.max_depth {
            self.min_depth = self.max_depth;
        }
        self
    }

Subdomains

Calls

Called By

Frequently Asked Questions

What does min_depth() do?
min_depth() is a function in the tailwindcss codebase.
What does min_depth() call?
min_depth() calls 1 function(s): min_depth.
What calls min_depth()?
min_depth() is called by 2 function(s): build, min_depth.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free