Home / Function/ depth() — tailwindcss Function Reference

depth() — tailwindcss Function Reference

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

Function rust RustCore PreProcessors calls 1 called by 7

Entity Profile

Dependency Diagram

graph TD
  8dcded00_73b5_510f_35e9_d6a8a17b3f61["depth()"]
  bc403de3_df6c_97c7_237d_6644168b98e5["depth()"]
  bc403de3_df6c_97c7_237d_6644168b98e5 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  365169b4_4aeb_e5a8_2cbf_612384e629cc["skip_entry()"]
  365169b4_4aeb_e5a8_2cbf_612384e629cc -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  ca21c5b0_9a8b_3e9e_e91a_c6153afa2996["next()"]
  ca21c5b0_9a8b_3e9e_e91a_c6153afa2996 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  53c4c04f_8ea8_89d6_9869_cc927b86c4b9["add_parents()"]
  53c4c04f_8ea8_89d6_9869_cc927b86c4b9 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  711131a2_def6_b05a_eec6_7d8ffa512bd3["read_dir()"]
  711131a2_def6_b05a_eec6_7d8ffa512bd3 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  cd9c919e_b7b4_e9fa_afba_bda77720d4a4["run_one()"]
  cd9c919e_b7b4_e9fa_afba_bda77720d4a4 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  63344b28_9b99_e315_b3dc_2e05147fb824["walkdir_is_dir()"]
  63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61
  4623f633_b515_6582_f29a_c7fc367eb528["depth()"]
  8dcded00_73b5_510f_35e9_d6a8a17b3f61 -->|calls| 4623f633_b515_6582_f29a_c7fc367eb528
  style 8dcded00_73b5_510f_35e9_d6a8a17b3f61 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(),
        }
    }

Domain

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 7 function(s): add_parents, depth, 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