26 #ifndef CAT_DEVICE_HPP
27 #define CAT_DEVICE_HPP
29 #include "../my_config.h"
53 const std::string & name,
57 cat_device(
const std::shared_ptr<user_interaction> & dialog,
72 void set_major(
int x) { xmajor = x; };
73 void set_minor(
int x) { xminor = x; };
80 virtual void sub_compare(
const cat_inode & other,
bool isolated_mode)
const override;
81 virtual void inherited_dump(
const pile_descriptor & pdesc,
bool small)
const override;
base object for all inode types, managed EA and FSA, dates, permissions, ownership,...
class archive_version manages the version of the archive format
the special cat_device root class
virtual bool operator==(const cat_entree &ref) const override
returns true if the two object are the same
virtual void inherited_dump(const pile_descriptor &pdesc, bool small) const override
true if object has been created by sequential reading of an archive
the root class from all other inherite for any entry in the catalogue
saved_status get_saved_status() const
obtain the saved status of the object
the root class for all cat_inode
U_16 perm
inode's permission
infinint uid
inode owner's user ID
cat_inode(const infinint &xuid, const infinint &xgid, U_16 xperm, const datetime &last_access, const datetime &last_modif, const datetime &last_change, const std::string &xname, const infinint &device)
flag used to only consider certain fields when comparing/restoring inodes
infinint gid
inode owner's group ID
the arbitrary large positive integer class
saved_status
data saved status for an entry
@ saved
inode is saved in the archive
are defined here basic integer types that tend to be portable
libdar namespace encapsulate all libdar symbols