Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
the etage structure keep trace of directory contents More...
#include <etage.hpp>
Public Member Functions | |
etage (user_interaction &ui, const char *dirname, const datetime &x_last_acc, const datetime &x_last_mod, bool cache_directory_tagging, bool furtive_read_mode) | |
etage (const etage &ref)=default | |
etage (etage &&ref)=default | |
etage & | operator= (const etage &ref)=default |
etage & | operator= (etage &&ref) noexcept=default |
bool | read (std::string &ref) |
Public Attributes | |
std::deque< std::string > | fichier |
holds the list of entry in the directory | |
datetime | last_mod |
the last_lod of the directory itself | |
datetime | last_acc |
the last_acc of the directory itself | |
the etage structure keep trace of directory contents
it relies on the [fd]opendir() system call family than cannot be used recursively. Thus each etage structure contains the contents of a directory, and can then be stored beside other etage structures corresponding to subdirectories