Disk ARchive  2.7.15
Full featured and portable backup and archiving tool
Public Member Functions | Public Attributes | List of all members
libdar::etage Struct Reference

the etage structure keep trace of directory contents More...

#include <etage.hpp>

+ Collaboration diagram for libdar::etage:

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
 
etageoperator= (const etage &ref)=default
 
etageoperator= (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
 

Detailed Description

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

Definition at line 49 of file etage.hpp.


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