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 bfd89214_e63e_8e78_1ca6_8dd2376173d6["it_should_not_ignore_folders_that_end_with_a_binary_extension()"] 6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"] bfd89214_e63e_8e78_1ca6_8dd2376173d6 -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19 89cd8369_536c_74e5_91d1_719df04e4597["scan()"] bfd89214_e63e_8e78_1ca6_8dd2376173d6 -->|calls| 89cd8369_536c_74e5_91d1_719df04e4597 style bfd89214_e63e_8e78_1ca6_8dd2376173d6 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