get_normalized_sources() — tailwindcss Function Reference
Architecture documentation for the get_normalized_sources() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 440b0f82_3711_78ae_0d5e_798af0c01296["get_normalized_sources()"] b82a42d6_b7d3_c6d2_1e14_451f8382da81["mod.rs"] 440b0f82_3711_78ae_0d5e_798af0c01296 -->|defined in| b82a42d6_b7d3_c6d2_1e14_451f8382da81 style 440b0f82_3711_78ae_0d5e_798af0c01296 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/scanner/mod.rs lines 402–417
pub fn get_normalized_sources(&self) -> Vec<GlobEntry> {
self.sources
.iter()
.filter_map(|source| match source {
SourceEntry::Auto { base } | SourceEntry::External { base } => Some(GlobEntry {
base: base.to_string_lossy().to_string(),
pattern: "**/*".to_string(),
}),
SourceEntry::Pattern { base, pattern } => Some(GlobEntry {
base: base.to_string_lossy().to_string(),
pattern: pattern.to_string(),
}),
_ => None,
})
.collect()
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does get_normalized_sources() do?
get_normalized_sources() is a function in the tailwindcss codebase, defined in crates/oxide/src/scanner/mod.rs.
Where is get_normalized_sources() defined?
get_normalized_sources() is defined in crates/oxide/src/scanner/mod.rs at line 402.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free