Home / Function/ depth() — tailwindcss Function Reference

depth() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  19a579f2_0845_488e_2298_f5413c4f51d9["depth()"]
  3608316b_f560_1cf7_a117_ed58d131ae5b["from_walkdir()"]
  3608316b_f560_1cf7_a117_ed58d131ae5b -->|calls| 19a579f2_0845_488e_2298_f5413c4f51d9
  6cfd7801_f153_ee16_2702_be069f25f13c["depth()"]
  19a579f2_0845_488e_2298_f5413c4f51d9 -->|calls| 6cfd7801_f153_ee16_2702_be069f25f13c
  style 19a579f2_0845_488e_2298_f5413c4f51d9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/lib.rs lines 254–260

    pub fn depth(&self) -> Option<usize> {
        match *self {
            Error::WithPath { ref err, .. } => err.depth(),
            Error::WithDepth { depth, .. } => Some(depth),
            _ => None,
        }
    }

Subdomains

Calls

Called By

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 1 function(s): from_walkdir.

Analyze Your Own Codebase

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

Try Supermodel Free