builder() — tailwindcss Function Reference
Architecture documentation for the builder() function in auto_source_detection.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD bf534791_b7e7_4573_6189_222ce88414f1["builder()"] 2ec32464_b19b_15b2_0fc7_516be0597884["auto_source_detection.rs"] bf534791_b7e7_4573_6189_222ce88414f1 -->|defined in| 2ec32464_b19b_15b2_0fc7_516be0597884 style bf534791_b7e7_4573_6189_222ce88414f1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/scanner/auto_source_detection.rs lines 13–28
pub static RULES: sync::LazyLock<Vec<Gitignore>> = sync::LazyLock::new(|| {
let mut builder = GitignoreBuilder::new("");
builder.add_line(None, &IGNORED_CONTENT_DIRS_GLOB).unwrap();
builder.add_line(None, &IGNORED_EXTENSIONS_GLOB).unwrap();
builder.add_line(None, &IGNORED_FILES_GLOB).unwrap();
// Ensure these rules do not match on folder names
let mut file_only_builder = GitignoreBuilder::new("");
file_only_builder
.only_on_files(true)
.add_line(None, &BINARY_EXTENSIONS_GLOB)
.unwrap();
vec![builder.build().unwrap(), file_only_builder.build().unwrap()]
});
Domain
Subdomains
Source
Frequently Asked Questions
What does builder() do?
builder() is a function in the tailwindcss codebase, defined in crates/oxide/src/scanner/auto_source_detection.rs.
Where is builder() defined?
builder() is defined in crates/oxide/src/scanner/auto_source_detection.rs at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free