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
  b467308a_fbef_cacf_6aca_ca3f50c06a51["symlink_loop()"]
  e8c725dd_a885_9529_0af1_4e4171753fc6["tmpdir()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| e8c725dd_a885_9529_0af1_4e4171753fc6
  a870695d_932a_bfd4_fe92_a94ee09973bb["mkdirp()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| a870695d_932a_bfd4_fe92_a94ee09973bb
  61920b42_0d50_707e_d25e_adc8a3b7c42c["symlink()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| 61920b42_0d50_707e_d25e_adc8a3b7c42c
  5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  c656cca4_0ca6_ad7c_4938_d8068064817a["follow_links()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| c656cca4_0ca6_ad7c_4938_d8068064817a
  006bb599_d40b_f53b_44c7_57dfd4237729["path()"]
  b467308a_fbef_cacf_6aca_ca3f50c06a51 -->|calls| 006bb599_d40b_f53b_44c7_57dfd4237729
  style b467308a_fbef_cacf_6aca_ca3f50c06a51 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.
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