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
  ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e["depth()"]
  ca893623_44b4_8a0b_111d_d2fbc9208424["depth()"]
  ca893623_44b4_8a0b_111d_d2fbc9208424 -->|calls| ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e
  6cfd7801_f153_ee16_2702_be069f25f13c["depth()"]
  6cfd7801_f153_ee16_2702_be069f25f13c -->|calls| ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e
  e611aa38_0264_a87e_bc57_816638dacc44["add_parents()"]
  e611aa38_0264_a87e_bc57_816638dacc44 -->|calls| ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e
  d16b5ee3_02a3_92c2_a820_d7fe222d6187["read_dir()"]
  d16b5ee3_02a3_92c2_a820_d7fe222d6187 -->|calls| ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e
  e63c9a61_c0eb_fc8e_2a92_ab9b1af2a4db["run_one()"]
  e63c9a61_c0eb_fc8e_2a92_ab9b1af2a4db -->|calls| ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e
  6cfd7801_f153_ee16_2702_be069f25f13c["depth()"]
  ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e -->|calls| 6cfd7801_f153_ee16_2702_be069f25f13c
  style ecfbe11b_c0ec_34f3_c4ec_11d8f76efb9e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 215–222

    fn depth(&self) -> usize {
        use self::DirEntryInner::*;
        match *self {
            Stdin => 0,
            Walkdir(ref x) => x.depth(),
            Raw(ref x) => x.depth(),
        }
    }

Subdomains

Calls

Frequently Asked Questions

What does depth() do?
depth() is a function in the tailwindcss codebase.
What does depth() call?
depth() calls 1 function(s): depth.
What calls depth()?
depth() is called by 5 function(s): add_parents, depth, depth, read_dir, run_one.

Analyze Your Own Codebase

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

Try Supermodel Free