A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GitoxideLabs/gitoxide/commit/3ef6b5595f6d71d27a00b178fbe356257fe4b8a5 below:

mode().kind()`. · GitoxideLabs/gitoxide@3ef6b55 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed Original file line number Diff line number Diff line change

@@ -15,6 +15,11 @@ impl<'repo, 'a> EntryRef<'repo, 'a> {

15 15

self.inner.mode

16 16

}

17 17 18 +

/// The kind of object to which [`id()`][Self::id()] is pointing, as shortcut to [self.mode().kind()](Self::mode()).

19 +

pub fn kind(&self) -> gix_object::tree::EntryKind {

20 +

self.inner.mode.kind()

21 +

}

22 + 18 23

/// The name of the file in the parent tree.

19 24

pub fn filename(&self) -> &gix_object::bstr::BStr {

20 25

self.inner.filename

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4