it_should_work_with_manual_glob_only() — tailwindcss Function Reference
Architecture documentation for the it_should_work_with_manual_glob_only() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD b1e8c3aa_d2d6_e95d_f26f_b9e4cd5e1daf["it_should_work_with_manual_glob_only()"] 2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096["scan_with_globs()"] b1e8c3aa_d2d6_e95d_f26f_b9e4cd5e1daf -->|calls| 2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096 style b1e8c3aa_d2d6_e95d_f26f_b9e4cd5e1daf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 954–998
fn it_should_work_with_manual_glob_only() {
let ScanResult {
candidates,
files,
globs,
normalized_sources,
} = scan_with_globs(
&[
("index.html", "content-['index.html']"),
("src/index.html", "content-['src/index.html']"),
("src/ignore.html", "content-['src/ignore.html']"),
("src/admin/index.html", "content-['src/admin/index.html']"),
("src/admin/ignore.html", "content-['src/admin/ignore.html']"),
(
"src/dashboard/index.html",
"content-['src/dashboard/index.html']",
),
(
"src/dashboard/ignore.html",
"content-['src/dashboard/ignore.html']",
),
("src/lib.ts", "content-['src/lib.ts']"),
],
vec![
"@source './src/**/*.html'",
"@source not './src/index.html'",
"@source not './src/**/ignore.html'",
],
);
assert_eq!(
candidates,
vec![
"content-['src/admin/index.html']",
"content-['src/dashboard/index.html']",
]
);
assert_eq!(
files,
vec!["src/admin/index.html", "src/dashboard/index.html",]
);
assert_eq!(globs, vec!["src/**/*.html"]);
assert_eq!(normalized_sources, vec!["src/**/*.html"]);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does it_should_work_with_manual_glob_only() do?
it_should_work_with_manual_glob_only() is a function in the tailwindcss codebase.
What does it_should_work_with_manual_glob_only() call?
it_should_work_with_manual_glob_only() 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