73 Blob(std::string raw_data);
87 [[nodiscard]] std::string
getType()
const override;
99 [[nodiscard]] std::string
serialize()
const override;
110 [[nodiscard]]
const std::string&
getData()
const;
Definition of the abstract base class for all Version Control System objects.
std::string serialize() const override
Serializes the object's core data for hashing and storage.
Definition Blob.cxx:31
Blob(std::string raw_data)
Constructor for the Blob object.
Definition Blob.cxx:18
const std::string & getData() const
Returns the raw data content stored in the Blob.
Definition Blob.cxx:35
std::string getType() const override
Returns the type of the VCS object.
Definition Blob.cxx:27
VcsObject()=default
Default constructor. Required for derived classes.
Core VCS data structures and object model.