This lets us operate over various kinds of objects polymorphically (e.g. call `.hex()` on any kind of object hash).
Showing the changes to lib/src/commit_builder.rs (1 of 21 files). Show all
Unified · Split
| @@ -14,8 +14,7 @@ · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | use uuid::Uuid; |
| 16 | 16 | |
| 17 | −use crate::backend; | |
| 18 | −use crate::backend::{BackendResult, ChangeId, CommitId, Signature, TreeId}; | |
| 17 | +use crate::backend::{self, BackendResult, ChangeId, CommitId, ObjectId, Signature, TreeId}; | |
| 19 | 18 | use crate::commit::Commit; |
| 20 | 19 | use crate::repo::MutableRepo; |
| 21 | 20 | use crate::settings::UserSettings; |