Home / Function/ depth() — tailwindcss Function Reference

depth() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a15a2bde_b3e0_c30a_101e_6607eb8fde2b["depth()"]
  b45a46b8_860c_ff76_cb65_b3f199252429["walk.rs"]
  a15a2bde_b3e0_c30a_101e_6607eb8fde2b -->|defined in| b45a46b8_860c_ff76_cb65_b3f199252429
  5f77d310_28b4_a763_f6a9_51a0510e6adc["skip_entry()"]
  5f77d310_28b4_a763_f6a9_51a0510e6adc -->|calls| a15a2bde_b3e0_c30a_101e_6607eb8fde2b
  0fb1069e_e9b4_d01d_bb1e_f98ab6dc129a["next()"]
  0fb1069e_e9b4_d01d_bb1e_f98ab6dc129a -->|calls| a15a2bde_b3e0_c30a_101e_6607eb8fde2b
  9044c068_42b3_a726_92a5_9ced8b88c52f["add_parents()"]
  9044c068_42b3_a726_92a5_9ced8b88c52f -->|calls| a15a2bde_b3e0_c30a_101e_6607eb8fde2b
  5dd61110_129c_53dc_a716_545532d88f41["read_dir()"]
  5dd61110_129c_53dc_a716_545532d88f41 -->|calls| a15a2bde_b3e0_c30a_101e_6607eb8fde2b
  b2c7c7e0_22d1_2323_e0dd_fcb7213a274b["run_one()"]
  b2c7c7e0_22d1_2323_e0dd_fcb7213a274b -->|calls| a15a2bde_b3e0_c30a_101e_6607eb8fde2b
  18f8d9db_86b5_2473_be11_dcbd47f24d3d["walkdir_is_dir()"]
  18f8d9db_86b5_2473_be11_dcbd47f24d3d -->|calls| a15a2bde_b3e0_c30a_101e_6607eb8fde2b
  style a15a2bde_b3e0_c30a_101e_6607eb8fde2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 80–82

    pub fn depth(&self) -> usize {
        self.dent.depth()
    }

Domain

Subdomains

Frequently Asked Questions

What does depth() do?
depth() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is depth() defined?
depth() is defined in crates/ignore/src/walk.rs at line 80.
What calls depth()?
depth() is called by 6 function(s): add_parents, next, read_dir, run_one, skip_entry, walkdir_is_dir.

Analyze Your Own Codebase

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

Try Supermodel Free