39 #ifndef ENTREPOT_LOCAL_HPP
40 #define ENTREPOT_LOCAL_HPP
42 #include "../my_config.h"
66 entrepot_local(
const std::string & user,
const std::string & group,
bool x_furtive_mode);
71 std::string get_url()
const {
return std::string(
"file://") + get_full_path().
display(); };
74 bool read_dir_next(std::string & filename);
80 const std::string & filename,
82 bool force_permission,
87 void inherited_unlink(
const std::string & filename)
const;
88 void read_dir_flush() { detruit(); };
94 void copy_from(
const entrepot_local & ref) { furtive_mode = ref.furtive_mode; contents =
nullptr; };
95 void detruit() {
if(contents !=
nullptr) {
delete contents; contents =
nullptr; } };
defines the entrepot interface. Entrepot interface defines a generic way to interact with files (slic...
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
This is a pure virtual class that is used by libdar when interaction with the user is required...
void read_dir_reset()
routines to read existing files in the current directory (see set_location() / set_root() methods) ...
gf_mode
generic_file openning modes
memory_pool * get_pool() const
defines the interaction between libdar and the user.Three classes are defined
here is the definition of the path classthe path class handle path and provide several operation on t...
definition of the etage structure is done here
class fichier_global definition. This class is a pure virtual class class fichier_global is an abstra...
switch module to limitint (32 ou 64 bits integers) or infinint
class hash_fichier definition.This is an inherited class from class fichier Objects of that class are...
std::string display() const
convert back a path to a string
the etage structure keep trace of directory contents
libdar namespace encapsulate all libdar symbols