it_should_not_ignore_folders_that_end_with_a_binary_extension() — tailwindcss Function Reference
Architecture documentation for the it_should_not_ignore_folders_that_end_with_a_binary_extension() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD b8f9676d_b005_845f_7e8b_c7ed63fcc9b7["it_should_not_ignore_folders_that_end_with_a_binary_extension()"] 340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"] b8f9676d_b005_845f_7e8b_c7ed63fcc9b7 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d 2f3305c3_ad36_6002_daa9_52b16e0424fd["scan()"] b8f9676d_b005_845f_7e8b_c7ed63fcc9b7 -->|calls| 2f3305c3_ad36_6002_daa9_52b16e0424fd style b8f9676d_b005_845f_7e8b_c7ed63fcc9b7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 316–337
fn it_should_not_ignore_folders_that_end_with_a_binary_extension() {
let ScanResult {
files,
globs,
normalized_sources,
..
} = scan(&[
// Looks like `.pages` binary extension, but it's a folder
("some.pages/index.html", "content-['some.pages/index.html']"),
// Ignore a specific folder. This is to ensure that this still "wins" from the internal
// solution of dealing with binary extensions for files only.
(".gitignore", "other.pages"),
(
"other.pages/index.html",
"content-['other.pages/index.html']",
),
]);
assert_eq!(files, vec!["some.pages/index.html"]);
assert_eq!(globs, vec!["*", "some.pages/**/*.{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
Defined In
Calls
Source
Frequently Asked Questions
What does it_should_not_ignore_folders_that_end_with_a_binary_extension() do?
it_should_not_ignore_folders_that_end_with_a_binary_extension() is a function in the tailwindcss codebase, defined in crates/oxide/tests/scanner.rs.
Where is it_should_not_ignore_folders_that_end_with_a_binary_extension() defined?
it_should_not_ignore_folders_that_end_with_a_binary_extension() is defined in crates/oxide/tests/scanner.rs at line 316.
What does it_should_not_ignore_folders_that_end_with_a_binary_extension() call?
it_should_not_ignore_folders_that_end_with_a_binary_extension() 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