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 Oxide Scanner calls 6 called by 1

Entity Profile

Dependency Diagram

graph TD
  dc4c6622_582c_3872_a3ca_10e03e301006["min_depth()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  7fdc5de6_ca45_c05a_0113_cfaee5250ec1["build()"]
  7fdc5de6_ca45_c05a_0113_cfaee5250ec1 -->|calls| dc4c6622_582c_3872_a3ca_10e03e301006
  c755c2fc_c832_3451_a38d_48285b12e6d3["tmpdir()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| c755c2fc_c832_3451_a38d_48285b12e6d3
  eb9cff24_ad95_e69f_d2f3_914faaa93121["mkdirp()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| eb9cff24_ad95_e69f_d2f3_914faaa93121
  934d114d_964b_414a_2b41_82e8174b7c3d["path()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d
  dc15f3bc_b785_736f_2fa4_5e6e62bbfee6["wfile()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| dc15f3bc_b785_736f_2fa4_5e6e62bbfee6
  3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  34bbf490_423c_6be8_46dd_9b51a45a65e9["max_depth()"]
  dc4c6622_582c_3872_a3ca_10e03e301006 -->|calls| 34bbf490_423c_6be8_46dd_9b51a45a65e9
  style dc4c6622_582c_3872_a3ca_10e03e301006 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