Mini Git
A reduced version of Git
|
#include <commit.hpp>
Public Member Functions | |
CommitObject (const std::string &tree_sha, const std::string &message, const std::string &parent) | |
std::string | write () const |
Public Attributes | |
AuthorInfo | author |
std::chrono::system_clock::time_point | timestamp |
std::string | tree_sha |
std::string | message |
std::string | parent |
CommitObject::CommitObject | ( | const std::string & | tree_sha, |
const std::string & | message, | ||
const std::string & | parent ) |
std::string CommitObject::write | ( | ) | const |
AuthorInfo CommitObject::author |
std::string CommitObject::message |
std::string CommitObject::parent |
std::chrono::system_clock::time_point CommitObject::timestamp |
std::string CommitObject::tree_sha |