blob: 46a6ab4f7c8b59bdee363bf9de55b3daf0e6203c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
pub type CommitId = usize;
/// Represent a commit on a repository
///
/// This abstraction only contains metadata required to fetch the full
/// commit from disk, if it is queried. Any operation on this type
/// will block to first load
pub struct Commit {
pub id: CommitId,
hash: String,
}
|