Showing the changes to git-diff (1 of 19 files). Show all
Unified · Split
| @@ -1,10 +1,13 @@ | |||
| 1 | mod changes { | 1 | mod changes { |
| 2 | mod to_obtain_tree { | 2 | mod to_obtain_tree { |
| 3 | use crate::hex_to_id; | ||
| 4 | use git_diff::tree::{recorder, recorder::Change::*}; | 3 | use git_diff::tree::{recorder, recorder::Change::*}; |
| 5 | use git_hash::{oid, ObjectId}; | 4 | use git_hash::{oid, ObjectId}; |
| 6 | use git_object::{bstr::ByteSlice, immutable, tree::EntryMode}; | 5 | use git_object::{bstr::ByteSlice, immutable, tree::EntryMode}; |
| 7 | use git_odb::{linked, pack, Find}; | 6 | use git_odb::store::linked; |
| 7 | use git_odb::{pack, Find}; | ||
| 8 | |||
| 9 | use crate::hex_to_id; | ||
| 10 | |||
| 8 | type Changes = Vec<recorder::Change>; | 11 | type Changes = Vec<recorder::Change>; |
| 9 | 12 | ||
| 10 | fn db(args: impl IntoIterator<Item = &'static str>) -> crate::Result<linked::Backend> { | 13 | fn db(args: impl IntoIterator<Item = &'static str>) -> crate::Result<linked::Backend> { |