SourceEntry Class — tailwindcss Architecture
Architecture documentation for the SourceEntry class in sources.rs from the tailwindcss codebase.
Entity Profile
Relationship Graph
Source Code
crates/oxide/src/scanner/sources.rs lines 22–61
pub enum SourceEntry {
/// Auto source detection
///
/// Represented by:
///
/// ```css
/// @source "src";`
/// @source "src/**/*";`
/// ```
Auto { base: PathBuf },
/// Explicit source pattern regardless of any auto source detection rules
///
/// Represented by:
///
/// ```css
/// @source "src/**/*.html";`
/// ```
Pattern { base: PathBuf, pattern: String },
/// Ignored pattern
///
/// Represented by:
///
/// ```css
/// @source not "src";`
/// @source not "src/**/*.html";`
/// ```
Ignored { base: PathBuf, pattern: String },
/// External sources are sources outside of your git root which should not
/// follow gitignore rules.
///
/// Represented by:
///
/// ```css
/// @source "../node_modules/my-lib";`
/// ```
External { base: PathBuf },
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free