it_should_scan_content_paths() — tailwindcss Function Reference
Architecture documentation for the it_should_scan_content_paths() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD afd14ffa_122e_a607_35db_58b2de7909c7["it_should_scan_content_paths()"] 2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096["scan_with_globs()"] afd14ffa_122e_a607_35db_58b2de7909c7 -->|calls| 2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096 style afd14ffa_122e_a607_35db_58b2de7909c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 604–620
fn it_should_scan_content_paths() {
let ScanResult {
candidates,
normalized_sources,
..
} = scan_with_globs(
&[
// We know that `.styl` extensions are ignored, so they are not covered by auto content
// detection.
("foo.styl", "content-['foo.styl']"),
],
vec!["@source '**/*'", "@source '*.styl'"],
);
assert_eq!(candidates, vec!["content-['foo.styl']"]);
assert_eq!(normalized_sources, vec!["**/*", "*.styl"]);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does it_should_scan_content_paths() do?
it_should_scan_content_paths() is a function in the tailwindcss codebase.
What does it_should_scan_content_paths() call?
it_should_scan_content_paths() calls 1 function(s): scan_with_globs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free