SVCS - English Documentation
Loading...
Searching...
No Matches
ObjectStorage.hxx File Reference

Manages the reading, writing, and lifecycle of VCS objects on the disk using the Git format. More...

#include "VcsObject.hxx"
#include <filesystem>
#include <string>
#include <memory>
#include <utility>
#include "../../services/ISubject.hxx"

Go to the source code of this file.

Classes

class  svcs::core::ObjectStorage
 Manages the version control object database, including persistence and object restoration. More...

Namespaces

namespace  svcs::core
 Core VCS data structures and object model.

Detailed Description

Manages the reading, writing, and lifecycle of VCS objects on the disk using the Git format.

This class handles file path construction, serialization, Zlib compression/decompression, and acts as a factory for restoring concrete VcsObject types (Blob, Tree, Commit). It uses an injected ISubject for internal event logging.