30 #include "../my_config.h" 87 const std::string & base,
148 const std::vector<std::string> & filename,
162 static void show_files_callback(
void *tag,
163 const std::string & filename,
168 static void get_version_callback(
void *tag,
177 static void statistics_callback(
void *tag,
options for file "used" in archive
options for changing a given archive's path
libdar5 namespace encapsulate all libdar symbols
bool ea() noexcept
returns whether EA support has been activated at compilation time
options to add an archive to base
the archive class is defined in this module
the database class defines the dar_manager database
void restore(const std::vector< std::string > &filename, const database_restore_options &opt)
restore files calling dar on the appropriated archive
definition of the user defined callback function used for database listing
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
base classes used to store entree information in dar_manager databases
contains a class that permits arbitrary large data storage
database & operator=(const database &ref)=delete
disabling assignement operator
options for changing a given archive's basename
options to remove an archive from the base
options to open a database
options to write a database to file
defines the interaction between libdar and a non communcant "blind" user
here is the definition of the path classthe path class handle path and provide several operation on t...
full implementation class for user_interaction, which shows nothing and assumes answer "no" to any qu...
void show_contents(user_interaction &dialog) const
show the list of archive used to build the database
db_etat
the status for a founded entry
options for restoration from database
~database()=default
database destructor (no implicit file saving)
db_lookup
the available status of a lookup
set of datastructures used to interact with a database object
this file holds the database class definition
this file contains the definition of class datetime that stores unix times in a portable way ...
bool check_order() const
check that all files's Data and EA are more recent when archive number grows within the database...
void show_version(user_interaction &dialog, path chemin) const
list the archive where a give file is present
class archive_num stores the position of an archive inside a dar_manager database ...
void show_files(user_interaction &dialog, archive_num num, const database_used_options &opt) const
list files which are present in a given archive
this file holds the options for database operations
void show_most_recent_stats(user_interaction &dialog) const
compute some statistics about the location of most recent file versions
the arbitrary large positive integer class
API v5 backward compatible class user_interaction.
the database class defines the dar_manager database
std::shared_ptr< user_interaction > user_interaction5_clone_to_shared_ptr(user_interaction &dialog)
convert a user_interaction to a shared_pointer on a clone of that user_interaction ...
This is a pure virtual class that is used by libdar when interaction with the user is required...
void dump(const std::string &filename, const database_dump_options &opt) const
write the database to a file (see database_header first)
the class path is here to manipulate paths in the Unix notation: using'/'