|
SlHelpers
|
The TreeEntry represents one git tree entry. More...
#include <Tree.h>
Public Member Functions | |
| const git_oid * | id () const noexcept |
| Get OID (SHA) of this Object. | |
| std::string | idStr () const noexcept |
| Get OID (SHA) of this Object – as a string. | |
| std::string | name () const noexcept |
| Get name of this TreeEntry. | |
| git_object_t | type () const noexcept |
| Get type of this TreeEntry (GIT_OBJECT_TREE, GIT_OBJECT_BLOB, ...). | |
| git_filemode_t | filemode () const noexcept |
| Get permissions of this TreeEntry. | |
| std::optional< std::string > | catFile (const Repo &repo) const noexcept |
| Cat this TreeEntry. | |
| GitTy * | treeEntry () const noexcept |
| Get the stored pointer to libgit2's git_tree_entry. | |
| operator GitTy * () const noexcept | |
| Alias for treeEntry(). | |
Friends | |
| class | Tree |
The TreeEntry represents one git tree entry.