History

backend: create `ObjectId` trait

This lets us operate over various kinds of objects polymorphically (e.g. call `.hex()` on any kind of object hash).

Waleed Khan committed 3 years ago

Commit 7f8a1961 parent 9974d6721 files · +49 −31Browse files

Showing the changes to lib/src/commit_builder.rs (1 of 21 files). Show all

Unified · Split

lib/src/commit_builder.rs+1−2
@@ -14,8 +14,7 @@ · 13 unmodified lines
14 14
15use uuid::Uuid;15use uuid::Uuid;
16 16
17use crate::backend;17use crate::backend::{self, BackendResult, ChangeId, CommitId, ObjectId, Signature, TreeId};
18use crate::backend::{BackendResult, ChangeId, CommitId, Signature, TreeId};
19use crate::commit::Commit;18use crate::commit::Commit;
20use crate::repo::MutableRepo;19use crate::repo::MutableRepo;
21use crate::settings::UserSettings;20use crate::settings::UserSettings;