first_path_not_symlink() — tailwindcss Function Reference
Architecture documentation for the first_path_not_symlink() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 7122e41d_638c_4d78_ca68_26316a64bc05["first_path_not_symlink()"] 8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79 c755c2fc_c832_3451_a38d_48285b12e6d3["tmpdir()"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|calls| c755c2fc_c832_3451_a38d_48285b12e6d3 eb9cff24_ad95_e69f_d2f3_914faaa93121["mkdirp()"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|calls| eb9cff24_ad95_e69f_d2f3_914faaa93121 934d114d_964b_414a_2b41_82e8174b7c3d["path()"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d 7fdc5de6_ca45_c05a_0113_cfaee5250ec1["build()"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|calls| 7fdc5de6_ca45_c05a_0113_cfaee5250ec1 a078916b_8fde_0487_2268_c4b6f6f737c4["path_is_symlink()"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|calls| a078916b_8fde_0487_2268_c4b6f6f737c4 2567ce1d_17e1_b741_15ca_320dd88c9022["walk_collect_entries_parallel()"] 7122e41d_638c_4d78_ca68_26316a64bc05 -->|calls| 2567ce1d_17e1_b741_15ca_320dd88c9022 style 7122e41d_638c_4d78_ca68_26316a64bc05 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2379–2394
fn first_path_not_symlink() {
let td = tmpdir();
mkdirp(td.path().join("foo"));
let dents = WalkBuilder::new(td.path().join("foo"))
.build()
.into_iter()
.collect::<Result<Vec<_>, _>>()
.unwrap();
assert_eq!(1, dents.len());
assert!(!dents[0].path_is_symlink());
let dents = walk_collect_entries_parallel(&WalkBuilder::new(td.path().join("foo")));
assert_eq!(1, dents.len());
assert!(!dents[0].path_is_symlink());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does first_path_not_symlink() do?
first_path_not_symlink() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is first_path_not_symlink() defined?
first_path_not_symlink() is defined in crates/ignore/src/walk.rs at line 2379.
What does first_path_not_symlink() call?
first_path_not_symlink() calls 6 function(s): build, mkdirp, path, path_is_symlink, tmpdir, walk_collect_entries_parallel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free