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
  6deebeb7_916a_ad58_a98f_bd81a9fbe6e7["depth()"]
  45d3637d_63b6_933b_072c_47e0aeaa39a0["lib.rs"]
  6deebeb7_916a_ad58_a98f_bd81a9fbe6e7 -->|defined in| 45d3637d_63b6_933b_072c_47e0aeaa39a0
  23c5dac7_67c4_c709_00fe_73f8b86eee40["from_walkdir()"]
  23c5dac7_67c4_c709_00fe_73f8b86eee40 -->|calls| 6deebeb7_916a_ad58_a98f_bd81a9fbe6e7
  style 6deebeb7_916a_ad58_a98f_bd81a9fbe6e7 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,
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does depth() do?
depth() is a function in the tailwindcss codebase, defined in crates/ignore/src/lib.rs.
Where is depth() defined?
depth() is defined in crates/ignore/src/lib.rs at line 254.
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