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 3aa87cd0_2671_5bbb_31d7_802f8e14f84f["get_normalized_sources()"] a24547bd_a4d8_c969_9693_3649cf9918a1["iter()"] 3aa87cd0_2671_5bbb_31d7_802f8e14f84f -->|calls| a24547bd_a4d8_c969_9693_3649cf9918a1 style 3aa87cd0_2671_5bbb_31d7_802f8e14f84f 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
Calls
Source
Frequently Asked Questions
What does get_normalized_sources() do?
get_normalized_sources() is a function in the tailwindcss codebase.
What does get_normalized_sources() call?
get_normalized_sources() calls 1 function(s): iter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free