Expand description
Error taxonomy for the crate::tree walker.
Errors carry PathBuf and String detail fields rather than boxing
underlying loader or parser errors. Keeping leaky types out of the public
surface means adding a new loader backend (IPC, in-memory, http) in a
future slice stays non-breaking.
Enums§
- Dirty
Tree Refusal Kind - Discriminator for
TreeError::DirtyTreeRefusal. Each kind has its own operator-facing Display string; consult the variant docs for the exact wording. - Tree
Error - Errors raised during a pack-tree walk.
Functions§
- is_
not_ a_ directory - MSRV-safe ENOTDIR detection.
io::ErrorKind::NotADirectorystabilised in Rust 1.83 but the workspace MSRV is pinned at 1.79. Detect via the raw OS error code instead: POSIXENOTDIR= 20, WindowsERROR_DIRECTORY= 267.