SVCS - English Documentation
Loading...
Searching...
No Matches
svcs::core::IndexEntry Struct Reference

Represents a single file entry in the staging area (Index). More...

#include <Index.hxx>

Public Attributes

std::string blob_hash
 The SHA-256 hash of the file's content (the Blob object ID).
fs::path file_path
 The file's path, relative to the repository's root directory.
fs::file_time_type last_modified
 The time of the file's last modification, used to detect changes.
long long file_size = 0
 The size of the file in bytes.

Detailed Description

Represents a single file entry in the staging area (Index).

An IndexEntry stores information about a file that is staged for the next commit, including its object ID (hash) and file metadata used to detect modifications.


The documentation for this struct was generated from the following file: