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 OxideEngine PreProcessors calls 6 called by 1

Entity Profile

Dependency Diagram

graph TD
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b["min_depth()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  de47c3c4_7919_326b_65e2_dcc7c2bd96c6["build()"]
  de47c3c4_7919_326b_65e2_dcc7c2bd96c6 -->|calls| e0b5dad8_4fe0_795f_87ad_e89081f90b0b
  ad34ca57_79fe_7ec6_ca38_10ba5937d0e2["tmpdir()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| ad34ca57_79fe_7ec6_ca38_10ba5937d0e2
  2981eeff_1441_f747_1a13_e8238ee63e55["mkdirp()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| 2981eeff_1441_f747_1a13_e8238ee63e55
  eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0
  9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4["wfile()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| 9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4
  9df16f40_0af0_7013_ce71_ae30d02a8d20["assert_paths()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  466239bd_07fe_994f_d859_99f5e2331524["max_depth()"]
  e0b5dad8_4fe0_795f_87ad_e89081f90b0b -->|calls| 466239bd_07fe_994f_d859_99f5e2331524
  style e0b5dad8_4fe0_795f_87ad_e89081f90b0b 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

Called By

Frequently Asked Questions

What does min_depth() do?
min_depth() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is min_depth() defined?
min_depth() is defined in crates/ignore/src/walk.rs at line 663.
What does min_depth() call?
min_depth() calls 6 function(s): assert_paths, max_depth, mkdirp, path, tmpdir, wfile.
What calls min_depth()?
min_depth() is called by 1 function(s): build.

Analyze Your Own Codebase

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

Try Supermodel Free