into_io_error() — tailwindcss Function Reference
Architecture documentation for the into_io_error() function in lib.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 2c886b6b_2a8b_25ff_5812_310964fd7d85["into_io_error()"] d51c8934_ce3d_f9d0_a14e_c9711e79f4e3["lib.rs"] 2c886b6b_2a8b_25ff_5812_310964fd7d85 -->|defined in| d51c8934_ce3d_f9d0_a14e_c9711e79f4e3 style 2c886b6b_2a8b_25ff_5812_310964fd7d85 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/lib.rs lines 232–250
pub fn into_io_error(self) -> Option<std::io::Error> {
match self {
Error::Partial(mut errs) => {
if errs.len() == 1 {
errs.remove(0).into_io_error()
} else {
None
}
}
Error::WithLineNumber { err, .. } => err.into_io_error(),
Error::WithPath { err, .. } => err.into_io_error(),
Error::WithDepth { err, .. } => err.into_io_error(),
Error::Loop { .. } => None,
Error::Io(err) => Some(err),
Error::Glob { .. } => None,
Error::UnrecognizedFileType(_) => None,
Error::InvalidDefinition => None,
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does into_io_error() do?
into_io_error() is a function in the tailwindcss codebase, defined in crates/ignore/src/lib.rs.
Where is into_io_error() defined?
into_io_error() is defined in crates/ignore/src/lib.rs at line 232.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free