it_should_include_defined_extensions_that_are_ignored_by_default() — tailwindcss Function Reference
Architecture documentation for the it_should_include_defined_extensions_that_are_ignored_by_default() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD b20dcd2f_797a_dc75_e7aa_523b9850232d["it_should_include_defined_extensions_that_are_ignored_by_default()"] 340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"] b20dcd2f_797a_dc75_e7aa_523b9850232d -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d a53d0655_c789_b0d9_0c48_cfd60da7194b["scan_with_globs()"] b20dcd2f_797a_dc75_e7aa_523b9850232d -->|calls| a53d0655_c789_b0d9_0c48_cfd60da7194b style b20dcd2f_797a_dc75_e7aa_523b9850232d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 916–951
fn it_should_include_defined_extensions_that_are_ignored_by_default() {
let ScanResult {
candidates,
files,
globs,
normalized_sources,
} = scan_with_globs(
// Typically skipped
&[
("src/index.exe", "content-['src/index.exe']"),
("src/index.bin", "content-['src/index.bin']"),
("out/out.exe", "content-['out/out.exe']"),
],
// But explicitly included
vec!["@source '**/*'", "@source 'src/**/*.{exe,bin}'"],
);
assert_eq!(
candidates,
vec!["content-['src/index.bin']", "content-['src/index.exe']",]
);
assert_eq!(files, vec!["src/index.bin", "src/index.exe",]);
assert_eq!(
globs,
vec![
"*",
// Contains `.exe` and `.bin` in the list
"out/**/*.{aspx,astro,bin,cjs,cts,eex,erb,exe,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}",
"src/{**/*.bin,**/*.exe,**/*.{aspx,astro,bin,cjs,cts,eex,erb,exe,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!["**/*", "src/**/*.bin", "src/**/*.exe"]
);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does it_should_include_defined_extensions_that_are_ignored_by_default() do?
it_should_include_defined_extensions_that_are_ignored_by_default() is a function in the tailwindcss codebase, defined in crates/oxide/tests/scanner.rs.
Where is it_should_include_defined_extensions_that_are_ignored_by_default() defined?
it_should_include_defined_extensions_that_are_ignored_by_default() is defined in crates/oxide/tests/scanner.rs at line 916.
What does it_should_include_defined_extensions_that_are_ignored_by_default() call?
it_should_include_defined_extensions_that_are_ignored_by_default() 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