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 d7a50b77_3ccd_91f6_973e_d4bb9ea8d407["walkdir_is_dir()"] 59c2d4c1_91fb_2d7a_997d_941710264436["next()"] 59c2d4c1_91fb_2d7a_997d_941710264436 -->|calls| d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 a102b557_0cc7_5c4e_042f_24149898e7c2["is_symlink()"] d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 -->|calls| a102b557_0cc7_5c4e_042f_24149898e7c2 bce2502e_c46b_d570_52e2_f907d031e231["file_type()"] d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 -->|calls| bce2502e_c46b_d570_52e2_f907d031e231 4e11484a_f38c_8d3f_e342_f6603e2f6952["is_dir()"] d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 -->|calls| 4e11484a_f38c_8d3f_e342_f6603e2f6952 ca893623_44b4_8a0b_111d_d2fbc9208424["depth()"] d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 -->|calls| ca893623_44b4_8a0b_111d_d2fbc9208424 5a41a98a_774e_c950_dcbd_cc7fe1960b89["path()"] d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 -->|calls| 5a41a98a_774e_c950_dcbd_cc7fe1960b89 dc6bfca3_1f85_98a1_5321_3ce0e2355c46["metadata()"] d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 -->|calls| dc6bfca3_1f85_98a1_5321_3ce0e2355c46 style d7a50b77_3ccd_91f6_973e_d4bb9ea8d407 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