API Reference¶
Git Components¶
-
class
index
¶
-
class
workspace
¶
-
class
refs
¶
-
using
sha1_digest
= std::array<std::byte, 20>¶ A SHA-1 Digest expressed as an array of bytes
Database¶
Special Members
Public Functions
Formats the author to a string in the format:
<name> \<<email>\> <unix timestamp> <UTC offset>
-
class
blob
¶ Special Members
-
blob
(std::string contents)¶
Public Functions
-
sha1_digest const &
oid
() const¶ Get the object ID of the blob
-
-
class
commit
¶ Represents a Git Commit
Special Members
Public Functions
-
std::string_view
type
() const¶ The database object type, which is “commit”
-
std::string_view