Home / Function/ symlink_loop() — tailwindcss Function Reference

symlink_loop() — tailwindcss Function Reference

Architecture documentation for the symlink_loop() function in walk.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  53b6689e_b3ea_a334_1370_87cf19a1b264["symlink_loop()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  c755c2fc_c832_3451_a38d_48285b12e6d3["tmpdir()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| c755c2fc_c832_3451_a38d_48285b12e6d3
  eb9cff24_ad95_e69f_d2f3_914faaa93121["mkdirp()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| eb9cff24_ad95_e69f_d2f3_914faaa93121
  934d114d_964b_414a_2b41_82e8174b7c3d["path()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d
  0d453ffb_4120_5ebf_996f_949ad04a050a["symlink()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| 0d453ffb_4120_5ebf_996f_949ad04a050a
  3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  06124e3b_e84a_cea4_53e8_3cf14b4426dd["follow_links()"]
  53b6689e_b3ea_a334_1370_87cf19a1b264 -->|calls| 06124e3b_e84a_cea4_53e8_3cf14b4426dd
  style 53b6689e_b3ea_a334_1370_87cf19a1b264 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 2398–2406

    fn symlink_loop() {
        let td = tmpdir();
        mkdirp(td.path().join("a/b"));
        symlink(td.path().join("a"), td.path().join("a/b/c"));

        let mut builder = WalkBuilder::new(td.path());
        assert_paths(td.path(), &builder, &["a", "a/b", "a/b/c"]);
        assert_paths(td.path(), &builder.follow_links(true), &["a", "a/b"]);
    }

Domain

Subdomains

Frequently Asked Questions

What does symlink_loop() do?
symlink_loop() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is symlink_loop() defined?
symlink_loop() is defined in crates/ignore/src/walk.rs at line 2398.
What does symlink_loop() call?
symlink_loop() calls 6 function(s): assert_paths, follow_links, mkdirp, path, symlink, tmpdir.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free