Expand description
Enums§
- Apply
Error - Unified diff / patch application errors.
- Attr
Pathspec Error - Why a
:(attr:...)pathspec clause was rejected. - Auth
Failure - Why an HTTP remote refused access (
Error::Auth). - BadNumeric
Source - Why a Git config numeric value was rejected (
git config intstrict parsing). - Config
Error - Configuration parse and validation failures.
- Diff
Path Error - Path lookup failures while formatting a diff.
- Error
- The top-level error type for all grit-lib operations.
- Filter
Error - Clean/smudge filter and EOL conversion failures.
- Filter
Phase - Which filter hook failed.
- GitDir
Path Operation - Git-directory filesystem operation that failed on a single path.
- Midx
Error - A fatal multi-pack-index condition (Git
die()aftererror:lines). - Overwrite
Reason - Why a tree transition would overwrite existing worktree content.
- Path
Outside Repo Error - Path outside the repository during pathspec or transport resolution.
- Pathspec
From File Parse Error --pathspec-from-file/--pathspec-file-nulparse failure.- Pathspec
Resolve Error - Failure while resolving argv and
--pathspec-from-filepathspecs against a work tree. - RefLock
Error - Reference lock failures while creating or updating a ref.
- Remote
Unreadable Reason - Why a remote could not be read or written (
Error::RemoteUnreadable). - Sparse
Checkout Warning - Sparse-checkout cone pattern parse warnings (non-fatal).
- Worktree
Operation - The command a dirty worktree blocked (
Error::DirtyWorktree). - Worktree
Path Operation - Worktree filesystem operation that failed on a single path.
Type Aliases§
- Result
- Convenience alias for
Result<T, Error>.