|
SlHelpers
|
Tag is a representation of a git tag. More...
#include <Tag.h>
Public Member Functions | |
| const git_oid * | targetId () const noexcept |
| Get the OID of the target of this Tag. | |
| std::string | targetIdStr () const noexcept |
| Get the SHA of the target of this Tag. | |
| git_object_t | targetType () const noexcept |
| Get the type of the target of this Tag (GIT_OBJECT_COMMIT, ...) | |
| std::string | name () const noexcept |
| Get the name of this Tag (the tag proper) | |
| const git_signature * | tagger () const noexcept |
| Get the tagger of this Tag. | |
| std::string | message () const noexcept |
| Get the tag message of this Tag. | |
| std::variant< std::monostate, Commit, Tree, Blob > | peel () const noexcept |
| Peel this Tag until the underlaying object is found and return that. | |
| GitTy * | tag () const noexcept |
| Get the stored pointer to libgit2's git_tag. | |
Public Member Functions inherited from SlGit::TypedObject< git_tag > | |
| git_object * | object () const noexcept override |
| Get a pointer to the generic git_object. | |
| operator git_tag * () const noexcept | |
| Alias for typed() | |
Public Member Functions inherited from SlGit::Object | |
| 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. | |
| git_object_t | type () const noexcept |
| Get Type of this Object. | |
| std::string | typeStr () const noexcept |
| Get Type of this Object – as a string. | |
| const Repo & | repo () const |
| Get the Repo this Object lives in. | |
| bool | operator== (const Object &other) const noexcept |
| Compare two Objects (their SHAs) | |
| bool | operator!= (const Object &other) const noexcept |
| Compare two Objects (their SHAs) | |
Friends | |
| class | Repo |
Additional Inherited Members | |
Protected Member Functions inherited from SlGit::TypedObject< git_tag > | |
| TypedObject (const Repo &repo, git_tag *typed) noexcept | |
| Construct a new TypedObject. | |
| git_tag * | typed () const noexcept |
| Get the stored pointer typed to one of libgit2's types. | |
Protected Member Functions inherited from SlGit::Object | |
| Object (const Repo &repo) | |
| Constuct a new Object. | |
Tag is a representation of a git tag.