Enum git_commitgraph::file::Error [−][src]
pub enum Error { BaseGraphMismatch { from_header: u8, from_chunk: u32, }, CommitCountMismatch { chunk1_id: [u8; 4], chunk1_commits: u32, chunk2_id: [u8; 4], chunk2_commits: u32, }, Corrupt(String), DuplicateChunk([u8; 4]), InvalidChunkSize { id: [u8; 4], msg: String, }, Io { err: Error, path: PathBuf, }, MissingChunk([u8; 4]), Trailer(String), UnsupportedHashVersion(u8), UnsupportedVersion(u8), }
Expand description
The error used in File::at()
.
Variants
Fields of CommitCountMismatch
Tuple Fields of Corrupt
0: String
Tuple Fields of Trailer
0: String
Tuple Fields of UnsupportedHashVersion
0: u8
Tuple Fields of UnsupportedVersion
0: u8