Home / Function/ first_path_not_symlink() — tailwindcss Function Reference

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
  07e16f89_ccb3_32a6_a52e_f34e7c66916d["first_path_not_symlink()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  ad34ca57_79fe_7ec6_ca38_10ba5937d0e2["tmpdir()"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|calls| ad34ca57_79fe_7ec6_ca38_10ba5937d0e2
  2981eeff_1441_f747_1a13_e8238ee63e55["mkdirp()"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|calls| 2981eeff_1441_f747_1a13_e8238ee63e55
  eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0
  de47c3c4_7919_326b_65e2_dcc7c2bd96c6["build()"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|calls| de47c3c4_7919_326b_65e2_dcc7c2bd96c6
  b027d576_2382_e0ba_cdc6_7b9696d7518b["path_is_symlink()"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|calls| b027d576_2382_e0ba_cdc6_7b9696d7518b
  890ecca7_6d92_2d53_1020_7e8daec08fb8["walk_collect_entries_parallel()"]
  07e16f89_ccb3_32a6_a52e_f34e7c66916d -->|calls| 890ecca7_6d92_2d53_1020_7e8daec08fb8
  style 07e16f89_ccb3_32a6_a52e_f34e7c66916d 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

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