test_explicitly_ignore_explicitly_allowed_files() — tailwindcss Function Reference
Architecture documentation for the test_explicitly_ignore_explicitly_allowed_files() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 12fc0d65_f46c_7b7a_d878_0a6c18d48bee["test_explicitly_ignore_explicitly_allowed_files()"] 6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"] 12fc0d65_f46c_7b7a_d878_0a6c18d48bee -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19 56624ac4_6945_32d1_2b96_700de264829d["create_files_in()"] 12fc0d65_f46c_7b7a_d878_0a6c18d48bee -->|calls| 56624ac4_6945_32d1_2b96_700de264829d 0ffee7bc_8829_8e8e_00ee_4a8f4e4d9736["public_source_entry_from_pattern()"] 12fc0d65_f46c_7b7a_d878_0a6c18d48bee -->|calls| 0ffee7bc_8829_8e8e_00ee_4a8f4e4d9736 89cd8369_536c_74e5_91d1_719df04e4597["scan()"] 12fc0d65_f46c_7b7a_d878_0a6c18d48bee -->|calls| 89cd8369_536c_74e5_91d1_719df04e4597 style 12fc0d65_f46c_7b7a_d878_0a6c18d48bee fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 1246–1267
fn test_explicitly_ignore_explicitly_allowed_files() {
// Create a temporary working directory
let dir = tempdir().unwrap().into_path();
// Create files
create_files_in(
&dir,
&[
("src/keep-me.html", "content-['keep-me.html']"),
("src/ignore-me.html", "content-['ignore-me.html']"),
],
);
let sources = vec![
public_source_entry_from_pattern(dir.clone(), "@source '**/*.html'"),
public_source_entry_from_pattern(dir.clone(), "@source not 'src/ignore-me.html'"),
];
let candidates = Scanner::new(sources.clone()).scan();
assert_eq!(candidates, vec!["content-['keep-me.html']"]);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_explicitly_ignore_explicitly_allowed_files() do?
test_explicitly_ignore_explicitly_allowed_files() is a function in the tailwindcss codebase, defined in crates/oxide/tests/scanner.rs.
Where is test_explicitly_ignore_explicitly_allowed_files() defined?
test_explicitly_ignore_explicitly_allowed_files() is defined in crates/oxide/tests/scanner.rs at line 1246.
What does test_explicitly_ignore_explicitly_allowed_files() call?
test_explicitly_ignore_explicitly_allowed_files() calls 3 function(s): create_files_in, public_source_entry_from_pattern, scan.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free