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
  4c2178e2_14f9_099e_48a6_e50df74fad4e["first_path_not_symlink()"]
  be21cd9d_32f8_3eb7_b73d_40d5a95dc7c5["tmpdir()"]
  4c2178e2_14f9_099e_48a6_e50df74fad4e -->|calls| be21cd9d_32f8_3eb7_b73d_40d5a95dc7c5
  6be2bc5c_2422_2c09_8c7a_3e92060e5ad1["mkdirp()"]
  4c2178e2_14f9_099e_48a6_e50df74fad4e -->|calls| 6be2bc5c_2422_2c09_8c7a_3e92060e5ad1
  9bac3eb8_6b71_2637_705d_37b38f0878b4["walk_collect_entries_parallel()"]
  4c2178e2_14f9_099e_48a6_e50df74fad4e -->|calls| 9bac3eb8_6b71_2637_705d_37b38f0878b4
  9dbc0f8b_e5d8_bd69_1707_cf790a93bf6e["path()"]
  4c2178e2_14f9_099e_48a6_e50df74fad4e -->|calls| 9dbc0f8b_e5d8_bd69_1707_cf790a93bf6e
  9d894c7c_30e0_c74a_cfb3_a68f088d0048["build()"]
  4c2178e2_14f9_099e_48a6_e50df74fad4e -->|calls| 9d894c7c_30e0_c74a_cfb3_a68f088d0048
  d13a97bb_f3e6_23e8_e4b0_9d974783e552["path_is_symlink()"]
  4c2178e2_14f9_099e_48a6_e50df74fad4e -->|calls| d13a97bb_f3e6_23e8_e4b0_9d974783e552
  style 4c2178e2_14f9_099e_48a6_e50df74fad4e 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());
    }

Subdomains

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