Home / Function/ symlinks() — tailwindcss Function Reference

symlinks() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  70dab4c5_535c_64b9_1540_21d5397c612b["symlinks()"]
  e8c725dd_a885_9529_0af1_4e4171753fc6["tmpdir()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| e8c725dd_a885_9529_0af1_4e4171753fc6
  a870695d_932a_bfd4_fe92_a94ee09973bb["mkdirp()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| a870695d_932a_bfd4_fe92_a94ee09973bb
  61920b42_0d50_707e_d25e_adc8a3b7c42c["symlink()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| 61920b42_0d50_707e_d25e_adc8a3b7c42c
  65b715d0_a042_86f6_24a2_ee2f89075c41["wfile()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| 65b715d0_a042_86f6_24a2_ee2f89075c41
  5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  c656cca4_0ca6_ad7c_4938_d8068064817a["follow_links()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| c656cca4_0ca6_ad7c_4938_d8068064817a
  006bb599_d40b_f53b_44c7_57dfd4237729["path()"]
  70dab4c5_535c_64b9_1540_21d5397c612b -->|calls| 006bb599_d40b_f53b_44c7_57dfd4237729
  style 70dab4c5_535c_64b9_1540_21d5397c612b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 2362–2375

    fn symlinks() {
        let td = tmpdir();
        mkdirp(td.path().join("a/b"));
        symlink(td.path().join("a/b"), td.path().join("z"));
        wfile(td.path().join("a/b/foo"), "");

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

Domain

Subdomains

Frequently Asked Questions

What does symlinks() do?
symlinks() is a function in the tailwindcss codebase.
What does symlinks() call?
symlinks() calls 7 function(s): assert_paths, follow_links, mkdirp, path, symlink, tmpdir, wfile.

Analyze Your Own Codebase

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

Try Supermodel Free