Something went wrong. Try again.
Helpful guardians of your Git trees.
Something went wrong. Try again.
12345678910111213141516171819//! Error types for the `git-op` crate.
/// A wrapper type for generic [`gix::Error`] errors, and other error cases specific to [`git-op`].#[derive(Debug, thiserror::Error)]#[non_exhaustive]pub enum RepositoryStateError { #[error(transparent)] Git(#[from] gix::Error), #[error("repository state tree has no `refs` entry")] MissingRefs, #[error("unexpected entry `{name}`")] UnexpectedEntry { name: gix::bstr::BString }, #[error("entry `{name}` has unexpected mode {mode:?}")] UnexpectedMode { name: gix::bstr::BString, mode: gix::objs::tree::EntryMode, },}