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 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f["first_path_not_symlink()"] e8c725dd_a885_9529_0af1_4e4171753fc6["tmpdir()"] 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f -->|calls| e8c725dd_a885_9529_0af1_4e4171753fc6 a870695d_932a_bfd4_fe92_a94ee09973bb["mkdirp()"] 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f -->|calls| a870695d_932a_bfd4_fe92_a94ee09973bb c613414e_67b0_e781_3a9b_4a45208ea7ad["walk_collect_entries_parallel()"] 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f -->|calls| c613414e_67b0_e781_3a9b_4a45208ea7ad 006bb599_d40b_f53b_44c7_57dfd4237729["path()"] 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f -->|calls| 006bb599_d40b_f53b_44c7_57dfd4237729 d723fee5_6735_de38_e918_7afbac537f66["build()"] 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f -->|calls| d723fee5_6735_de38_e918_7afbac537f66 88b6eb12_7743_686e_24fd_58c2cbf1071f["path_is_symlink()"] 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f -->|calls| 88b6eb12_7743_686e_24fd_58c2cbf1071f style 6e5d2d4d_69a8_a74e_d7ca_b35c26cd985f 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
Source
Frequently Asked Questions
What does first_path_not_symlink() do?
first_path_not_symlink() is a function in the tailwindcss codebase.
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