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 1236d2e2_9f4a_f330_5d1d_82167ae3b00f["test_globs_with_recursive_symlinks()"] 96c928f4_eee8_bcbc_0339_e2dce4b2d810["create_files_in()"] 1236d2e2_9f4a_f330_5d1d_82167ae3b00f -->|calls| 96c928f4_eee8_bcbc_0339_e2dce4b2d810 75f4fa23_9de1_85da_70ea_ccb8f56e6e13["symlink()"] 1236d2e2_9f4a_f330_5d1d_82167ae3b00f -->|calls| 75f4fa23_9de1_85da_70ea_ccb8f56e6e13 257cbf08_9e94_64b3_97f2_0416460fab35["public_source_entry_from_pattern()"] 1236d2e2_9f4a_f330_5d1d_82167ae3b00f -->|calls| 257cbf08_9e94_64b3_97f2_0416460fab35 1581ed51_04e1_62c1_6e26_ea43cf82d5f9["scan()"] 1236d2e2_9f4a_f330_5d1d_82167ae3b00f -->|calls| 1581ed51_04e1_62c1_6e26_ea43cf82d5f9 style 1236d2e2_9f4a_f330_5d1d_82167ae3b00f 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
Source
Frequently Asked Questions
What does test_globs_with_recursive_symlinks() do?
test_globs_with_recursive_symlinks() is a function in the tailwindcss codebase.
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