Previously one had to go through `gix::objs::tree` which wasn't symmetric with `gix::object::Kind`.
Unified · Split
| @@ -3,6 +3,8 @@ use gix_object::{bstr::BStr, TreeRefIter}; · 2 unmodified lines | |||
| 3 | 3 | ||
| 4 | use crate::{object::find, Id, Tree}; | 4 | use crate::{object::find, Id, Tree}; |
| 5 | 5 | ||
| 6 | pub use gix_object::tree::EntryMode; | ||
| 7 | |||
| 6 | /// Initialization | 8 | /// Initialization |
| 7 | impl<'repo> Tree<'repo> { | 9 | impl<'repo> Tree<'repo> { |
| 8 | /// Obtain a tree instance by handing in all components that it is made up of. | 10 | /// Obtain a tree instance by handing in all components that it is made up of. |