1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pub mod conversion {
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
pub enum Error {
#[error(transparent)]
Decode(#[from] git_object::decode::Error),
#[error("Expected object type {}, but got {}", .expected, .actual)]
UnexpectedType {
expected: git_object::Kind,
actual: git_object::Kind,
},
}
}
pub mod find {
pub type Error = git_odb::store::find::Error;
pub mod existing {
pub type Error = git_odb::find::existing::Error<git_odb::store::find::Error>;
}
}
pub mod write {
pub type Error = git_odb::store::write::Error;
}