Disk ARchive 2.8.0
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-2025 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
25
26#ifndef CAT_STATUS_HPP
27#define CAT_STATUS_HPP
28
29#include "../my_config.h"
30
31extern "C"
32{
33} // end extern "C"
34
35
36namespace libdar
37{
40
42
43 enum class saved_status
44 {
45 saved,
47 fake,
48 not_saved,
49 delta
50 };
51
53
54 enum class ea_saved_status
55 {
56 none,
57 partial,
58 fake,
59 full,
60 removed
61
62 };
63
65
73 {
74 none,
75 partial,
76 full
77 };
78
80
81} // end of namespace
82
83#endif
@ none
no hashing algorithm
fsa_saved_status
FSA saved status for an entry.
Definition: cat_status.hpp:73
saved_status
data saved status for an entry
Definition: cat_status.hpp:44
ea_saved_status
EA saved status for an entry.
Definition: cat_status.hpp:55
@ 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)
@ 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