Disk ARchive  2.7.15
Full featured and portable backup and archiving tool
cat_status.hpp
Go to the documentation of this file.
1 /*********************************************************************/
2 // dar - disk archive - a backup/restoration program
3 // Copyright (C) 2002-2024 Denis Corbin
4 //
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 //
19 // to contact the author, see the AUTHOR file
20 /*********************************************************************/
21 
26 
27 #ifndef CAT_STATUS_HPP
28 #define CAT_STATUS_HPP
29 
30 #include "../my_config.h"
31 
32 extern "C"
33 {
34 } // end extern "C"
35 
36 
37 namespace libdar
38 {
41 
43 
44  enum class saved_status
45  {
46  saved,
47  inode_only,
48  fake,
49  not_saved,
50  delta
51  };
52 
54 
55  enum class ea_saved_status
56  {
57  none,
58  partial,
59  fake,
60  full,
61  removed
62 
63  };
64 
66 
73  enum class fsa_saved_status
74  {
75  none,
76  partial,
77  full
78  };
79 
81 
82 } // end of namespace
83 
84 #endif
fsa_saved_status
FSA saved status for an entry.
Definition: cat_status.hpp:74
saved_status
data saved status for an entry
Definition: cat_status.hpp:45
ea_saved_status
EA saved status for an entry.
Definition: cat_status.hpp:56
@ partial
FSA unchanged, not fully stored.
@ fake
inode is not saved in the archive but is in the archive of reference (isolation context) s_fake is no...
@ inode_only
data is not saved but inode meta data has changed since the archive of reference
@ saved
inode is saved in the archive
@ delta
inode is saved but as delta binary from the content (delta signature) of what was found in the archiv...
@ not_saved
inode is not saved in the archive
@ partial
EA present in filesystem but not stored (ctime used to check changes)
@ fake
EA present in filesystem but not attached to this inode (isolation context) no more used in archive v...
@ none
no EA present for this inode in filesystem
@ removed
EA were present in the reference version, but not present anymore.
@ full
EA present in filesystem and attached to this inode.
libdar namespace encapsulate all libdar symbols
Definition: archive.hpp:47