Home / Function/ max_depth() — tailwindcss Function Reference

max_depth() — tailwindcss Function Reference

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

Function rust OxideEngine Scanner calls 5 called by 2

Entity Profile

Dependency Diagram

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

Called By

Frequently Asked Questions

What does max_depth() do?
max_depth() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is max_depth() defined?
max_depth() is defined in crates/ignore/src/walk.rs at line 652.
What does max_depth() call?
max_depth() calls 5 function(s): assert_paths, mkdirp, path, tmpdir, wfile.
What calls max_depth()?
max_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