History

feat: Make `EntryMode` available from `gix::object::tree`.

Previously one had to go through `gix::objs::tree` which wasn't symmetric with `gix::object::Kind`.

Sebastian Thiel committed 3 years ago

Commit 980c2ba1 parent d4a8f8c1 file · +2 −0Browse files

Unified · Split

gix/src/object/tree/mod.rs+2−0
@@ -3,6 +3,8 @@ use gix_object::{bstr::BStr, TreeRefIter}; · 2 unmodified lines
3 3
4use crate::{object::find, Id, Tree};4use crate::{object::find, Id, Tree};
5 5
6pub use gix_object::tree::EntryMode;
7
6/// Initialization8/// Initialization
7impl<'repo> Tree<'repo> {9impl<'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.