|
SVCS - English Documentation
|
Defines the Tree class, which represents the hierarchical structure (directory state) of a VCS repository. More...
Go to the source code of this file.
Classes | |
| struct | svcs::core::TreeEntry |
| Represents a single item (file or subdirectory) within a Tree object. More... | |
| class | svcs::core::Tree |
| Represents the state of a directory in the VCS, implementing the VcsObject contract. More... | |
Namespaces | |
| namespace | svcs::core |
| Core VCS data structures and object model. | |
Functions | |
| TreeEntry | svcs::core::createEntry (std::string name, std::string hash_id) |
| Creating tree entry. | |
Defines the Tree class, which represents the hierarchical structure (directory state) of a VCS repository.
The Tree object stores a list of TreeEntry structures, linking file names and modes to the hash IDs of Blob or other Tree objects. Its hash depends critically on the sorted content of these entries.