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 cb4e6249_ff73_6489_a572_2787663b3e24["into_io_error()"] 45d3637d_63b6_933b_072c_47e0aeaa39a0["lib.rs"] cb4e6249_ff73_6489_a572_2787663b3e24 -->|defined in| 45d3637d_63b6_933b_072c_47e0aeaa39a0 style cb4e6249_ff73_6489_a572_2787663b3e24 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