diff --git a/crates/core/src/blob/tree.rs b/crates/core/src/blob/tree.rs index 6dffa397..40abd23f 100644 --- a/crates/core/src/blob/tree.rs +++ b/crates/core/src/blob/tree.rs @@ -33,24 +33,12 @@ use crate::{ #[derive(thiserror::Error, Debug, displaydoc::Display)] #[non_exhaustive] pub enum TreeErrorKind { - /// blob `{0}` not found in index - BlobIdNotFound(TreeId), - /// `{0:?}` is not a directory - NotADirectory(OsString), - /// Path `{0:?}` not found - PathNotFound(OsString), /// path should not contain current or parent dir ContainsCurrentOrParentDirectory, /// `serde_json` couldn't serialize the tree: `{0:?}` SerializingTreeFailed(serde_json::Error), - /// `serde_json` couldn't deserialize tree from bytes of JSON text: `{0:?}` - DeserializingTreeFailed(serde_json::Error), /// slice is not UTF-8: `{0:?}` PathIsNotUtf8Conform(Utf8Error), - /// error in building nodestreamer: `{0:?}` - BuildingNodeStreamerFailed(ignore::Error), - /// failed to read file string from glob file: `{0:?}` - ReadingFileStringFromGlobsFailed(std::io::Error), /// Error `{kind}` in tree streamer: `{source}` Channel { kind: &'static str,