max_depth() — tailwindcss Function Reference
Architecture documentation for the max_depth() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 401c5e00_2f82_6095_747e_21b71443ddb7["max_depth()"] 95acd172_55a0_a922_90d4_b0e559ebbe4a["max_depth()"] 95acd172_55a0_a922_90d4_b0e559ebbe4a -->|calls| 401c5e00_2f82_6095_747e_21b71443ddb7 d723fee5_6735_de38_e918_7afbac537f66["build()"] d723fee5_6735_de38_e918_7afbac537f66 -->|calls| 401c5e00_2f82_6095_747e_21b71443ddb7 1d6d093c_70c0_1a75_75db_cec98737a5ab["min_depth()"] 1d6d093c_70c0_1a75_75db_cec98737a5ab -->|calls| 401c5e00_2f82_6095_747e_21b71443ddb7 95acd172_55a0_a922_90d4_b0e559ebbe4a["max_depth()"] 401c5e00_2f82_6095_747e_21b71443ddb7 -->|calls| 95acd172_55a0_a922_90d4_b0e559ebbe4a style 401c5e00_2f82_6095_747e_21b71443ddb7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 652–658
pub fn max_depth(&mut self, depth: Option<usize>) -> &mut WalkBuilder {
self.max_depth = depth;
if self.min_depth.is_some() && self.max_depth.is_some() && self.max_depth < self.min_depth {
self.max_depth = self.min_depth;
}
self
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does max_depth() do?
max_depth() is a function in the tailwindcss codebase.
What does max_depth() call?
max_depth() calls 1 function(s): max_depth.
What calls max_depth()?
max_depth() is called by 3 function(s): build, max_depth, min_depth.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free