Home / Function/ test_globs_with_recursive_symlinks() — tailwindcss Function Reference

test_globs_with_recursive_symlinks() — tailwindcss Function Reference

Architecture documentation for the test_globs_with_recursive_symlinks() function in scanner.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  2af96f21_864c_c0e1_f552_c947f2a3070c["test_globs_with_recursive_symlinks()"]
  6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"]
  2af96f21_864c_c0e1_f552_c947f2a3070c -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19
  56624ac4_6945_32d1_2b96_700de264829d["create_files_in()"]
  2af96f21_864c_c0e1_f552_c947f2a3070c -->|calls| 56624ac4_6945_32d1_2b96_700de264829d
  50b40a21_f781_d5c3_8e77_48a27b4e0bec["symlink()"]
  2af96f21_864c_c0e1_f552_c947f2a3070c -->|calls| 50b40a21_f781_d5c3_8e77_48a27b4e0bec
  0ffee7bc_8829_8e8e_00ee_4a8f4e4d9736["public_source_entry_from_pattern()"]
  2af96f21_864c_c0e1_f552_c947f2a3070c -->|calls| 0ffee7bc_8829_8e8e_00ee_4a8f4e4d9736
  89cd8369_536c_74e5_91d1_719df04e4597["scan()"]
  2af96f21_864c_c0e1_f552_c947f2a3070c -->|calls| 89cd8369_536c_74e5_91d1_719df04e4597
  style 2af96f21_864c_c0e1_f552_c947f2a3070c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 1706–1732

    fn test_globs_with_recursive_symlinks() {
        let dir = tempdir().unwrap().into_path();
        create_files_in(
            &dir,
            &[
                ("b/index.html", "content-['b/index.html']"),
                ("z/index.html", "content-['z/index.html']"),
            ],
        );

        // Create recursive symlinks
        let _ = symlink(dir.join("a"), dir.join("b"));
        let _ = symlink(dir.join("b/c"), dir.join("c"));
        let _ = symlink(dir.join("b/root"), &dir);
        let _ = symlink(dir.join("c"), dir.join("a"));

        let mut scanner = Scanner::new(vec![public_source_entry_from_pattern(
            dir.clone(),
            "@source '.'",
        )]);
        let candidates = scanner.scan();

        assert_eq!(
            candidates,
            vec!["content-['b/index.html']", "content-['z/index.html']"]
        );
    }

Domain

Subdomains

Frequently Asked Questions

What does test_globs_with_recursive_symlinks() do?
test_globs_with_recursive_symlinks() is a function in the tailwindcss codebase, defined in crates/oxide/tests/scanner.rs.
Where is test_globs_with_recursive_symlinks() defined?
test_globs_with_recursive_symlinks() is defined in crates/oxide/tests/scanner.rs at line 1706.
What does test_globs_with_recursive_symlinks() call?
test_globs_with_recursive_symlinks() calls 4 function(s): create_files_in, public_source_entry_from_pattern, scan, symlink.

Analyze Your Own Codebase

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

Try Supermodel Free