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.

Function rust RustCore PreProcessors calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  49d16e4d_6e89_c82e_25d8_4e2c5c3165b6["min_depth()"]
  1d6d093c_70c0_1a75_75db_cec98737a5ab["min_depth()"]
  1d6d093c_70c0_1a75_75db_cec98737a5ab -->|calls| 49d16e4d_6e89_c82e_25d8_4e2c5c3165b6
  d723fee5_6735_de38_e918_7afbac537f66["build()"]
  d723fee5_6735_de38_e918_7afbac537f66 -->|calls| 49d16e4d_6e89_c82e_25d8_4e2c5c3165b6
  1d6d093c_70c0_1a75_75db_cec98737a5ab["min_depth()"]
  49d16e4d_6e89_c82e_25d8_4e2c5c3165b6 -->|calls| 1d6d093c_70c0_1a75_75db_cec98737a5ab
  style 49d16e4d_6e89_c82e_25d8_4e2c5c3165b6 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
    }

Domain

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