test_works_with_filenames_containing_glob_characters() — tailwindcss Function Reference
Architecture documentation for the test_works_with_filenames_containing_glob_characters() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD db77f263_0e6c_f85a_544d_ccc9acef0c4d["test_works_with_filenames_containing_glob_characters()"] 96c928f4_eee8_bcbc_0339_e2dce4b2d810["create_files_in()"] db77f263_0e6c_f85a_544d_ccc9acef0c4d -->|calls| 96c928f4_eee8_bcbc_0339_e2dce4b2d810 257cbf08_9e94_64b3_97f2_0416460fab35["public_source_entry_from_pattern()"] db77f263_0e6c_f85a_544d_ccc9acef0c4d -->|calls| 257cbf08_9e94_64b3_97f2_0416460fab35 1581ed51_04e1_62c1_6e26_ea43cf82d5f9["scan()"] db77f263_0e6c_f85a_544d_ccc9acef0c4d -->|calls| 1581ed51_04e1_62c1_6e26_ea43cf82d5f9 style db77f263_0e6c_f85a_544d_ccc9acef0c4d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 1270–1294
fn test_works_with_filenames_containing_glob_characters() {
// Create a temporary working directory
let dir = tempdir().unwrap().into_path();
// Create files
create_files_in(
&dir,
&[
("src/app/[foo]/ignore-me.html", "content-['ignore-me.html']"),
("src/app/[foo]/keep-me.html", "content-['keep-me.html']"),
],
);
let sources = vec![
public_source_entry_from_pattern(dir.clone(), "@source '**/*'"),
public_source_entry_from_pattern(
dir.clone(),
"@source not 'src/app/[foo]/ignore*.html'",
),
];
let candidates = Scanner::new(sources.clone()).scan();
assert_eq!(candidates, vec!["content-['keep-me.html']"]);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_works_with_filenames_containing_glob_characters() do?
test_works_with_filenames_containing_glob_characters() is a function in the tailwindcss codebase.
What does test_works_with_filenames_containing_glob_characters() call?
test_works_with_filenames_containing_glob_characters() 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