mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-08 13:49:47 +00:00
Add ShortFileRecordData struct to hold the file list in DirTree.
This commit is contained in:
parent
1956594c01
commit
d579b311f2
6 changed files with 57 additions and 25 deletions
|
@ -79,6 +79,16 @@ namespace mchlib {
|
|||
bool hash_valid;
|
||||
};
|
||||
|
||||
struct ShortFileRecordData {
|
||||
std::string abs_path;
|
||||
std::string path;
|
||||
std::time_t atime;
|
||||
std::time_t mtime;
|
||||
uint16_t level;
|
||||
bool is_directory;
|
||||
bool is_symlink;
|
||||
};
|
||||
|
||||
struct SetRecordData {
|
||||
boost::string_ref name;
|
||||
char type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue