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
  c2f6d2ff_72ee_e003_210f_08b6674cc80c["test_globs_with_recursive_symlinks()"]
  340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"]
  c2f6d2ff_72ee_e003_210f_08b6674cc80c -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d
  a055cb70_8b14_31db_b201_57369f5fda5a["create_files_in()"]
  c2f6d2ff_72ee_e003_210f_08b6674cc80c -->|calls| a055cb70_8b14_31db_b201_57369f5fda5a
  56477cae_0f07_03e9_7681_f7d614264561["symlink()"]
  c2f6d2ff_72ee_e003_210f_08b6674cc80c -->|calls| 56477cae_0f07_03e9_7681_f7d614264561
  773530fa_5b76_d390_68d3_405d48fbecf7["public_source_entry_from_pattern()"]
  c2f6d2ff_72ee_e003_210f_08b6674cc80c -->|calls| 773530fa_5b76_d390_68d3_405d48fbecf7
  2f3305c3_ad36_6002_daa9_52b16e0424fd["scan()"]
  c2f6d2ff_72ee_e003_210f_08b6674cc80c -->|calls| 2f3305c3_ad36_6002_daa9_52b16e0424fd
  style c2f6d2ff_72ee_e003_210f_08b6674cc80c 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