get_normalized_sources() — tailwindcss Function Reference
Architecture documentation for the get_normalized_sources() function in mod.rs from the tailwindcss codebase.
Entity Profile
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
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free