it_should_use_a_glob_for_top_level_folders() — tailwindcss Function Reference
Architecture documentation for the it_should_use_a_glob_for_top_level_folders() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 63dacda9_e6e1_bf98_62b4_b729d1134992["it_should_use_a_glob_for_top_level_folders()"] 66c99d71_b17e_d5a4_2a47_c675fac3c9cc["scan()"] 63dacda9_e6e1_bf98_62b4_b729d1134992 -->|calls| 66c99d71_b17e_d5a4_2a47_c675fac3c9cc style 63dacda9_e6e1_bf98_62b4_b729d1134992 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 271–293
fn it_should_use_a_glob_for_top_level_folders() {
let ScanResult {
files,
globs,
normalized_sources,
..
} = scan(&[
("index.html", ""),
("src/a.html", ""),
("src/b.html", ""),
("src/c.html", ""),
]);
assert_eq!(
files,
vec!["index.html", "src/a.html", "src/b.html", "src/c.html"]
);
assert_eq!(globs, vec![
"*",
"src/**/*.{aspx,astro,cjs,cts,eex,erb,gjs,gts,haml,handlebars,hbs,heex,html,jade,js,jsx,liquid,md,mdx,mjs,mts,mustache,njk,nunjucks,php,pug,py,razor,rb,rhtml,rs,slim,svelte,tpl,ts,tsx,twig,vue}",
]);
assert_eq!(normalized_sources, vec!["**/*"]);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does it_should_use_a_glob_for_top_level_folders() do?
it_should_use_a_glob_for_top_level_folders() is a function in the tailwindcss codebase.
What does it_should_use_a_glob_for_top_level_folders() call?
it_should_use_a_glob_for_top_level_folders() calls 1 function(s): scan.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free