walkdir_is_dir() — tailwindcss Function Reference
Architecture documentation for the walkdir_is_dir() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 63344b28_9b99_e315_b3dc_2e05147fb824["walkdir_is_dir()"] ca21c5b0_9a8b_3e9e_e91a_c6153afa2996["next()"] ca21c5b0_9a8b_3e9e_e91a_c6153afa2996 -->|calls| 63344b28_9b99_e315_b3dc_2e05147fb824 6635a1ff_d67d_40df_1cc3_51c7debc3b01["is_symlink()"] 63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| 6635a1ff_d67d_40df_1cc3_51c7debc3b01 29b1fc36_4cad_f0a0_a75c_9d0516d59243["file_type()"] 63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| 29b1fc36_4cad_f0a0_a75c_9d0516d59243 375b58d9_a2fe_75bb_3a9f_2f5574c0532f["is_dir()"] 63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| 375b58d9_a2fe_75bb_3a9f_2f5574c0532f 8dcded00_73b5_510f_35e9_d6a8a17b3f61["depth()"] 63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| 8dcded00_73b5_510f_35e9_d6a8a17b3f61 afe9c39f_a243_0367_bdf6_a556fadd6383["path()"] 63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| afe9c39f_a243_0367_bdf6_a556fadd6383 d87313f3_8b5b_0a2c_87f2_71b90771dc0c["metadata()"] 63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| d87313f3_8b5b_0a2c_87f2_71b90771dc0c style 63344b28_9b99_e315_b3dc_2e05147fb824 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 1993–2004
fn walkdir_is_dir(dent: &walkdir::DirEntry) -> bool {
if dent.file_type().is_dir() {
return true;
}
if !dent.file_type().is_symlink() || dent.depth() > 0 {
return false;
}
dent.path()
.metadata()
.ok()
.map_or(false, |md| md.file_type().is_dir())
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does walkdir_is_dir() do?
walkdir_is_dir() is a function in the tailwindcss codebase.
What does walkdir_is_dir() call?
walkdir_is_dir() calls 6 function(s): depth, file_type, is_dir, is_symlink, metadata, path.
What calls walkdir_is_dir()?
walkdir_is_dir() is called by 1 function(s): next.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free