Disk ARchive 2.7.16
Full featured and portable backup and archiving tool
database_aux.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
25
26
27#ifndef DATABASE_AUX_HPP
28#define DATABASE_AUX_HPP
29
30#include "../my_config.h"
31
32namespace libdar
33{
34
37
39
40 enum class db_lookup
41 {
44 not_found,
46 };
47
49
54 enum class db_etat
55 {
56 et_saved,
57 et_patch,
59 et_inode,
63 };
64
66
67} // end of namespace
68
69#endif
db_lookup
the available status of a lookup
db_etat
the status for a founded entry
@ not_found
no such file has been found in any archive of the base
@ found_removed
file data/EA has been found as removed at that date
@ found_present
file data/EA has been found completely usable
@ not_restorable
file data/EA has been found existing at that date but not possible to restore (lack of data,...
@ et_saved
data/EA present in the archive
@ et_present
file/EA present in the archive but data not saved (differential backup)
@ et_removed
file/EA stored as deleted since archive of reference or file/EA not present in the archive
@ et_patch
data present as patch since the previous version
@ et_patch_unusable
data present as patch but base version not found in archive set
@ et_absent
file not even mentionned in the archive, This entry is equivalent to et_removed, but is required to b...
@ et_inode
only inode metadata has been modified since previous version
libdar namespace encapsulate all libdar symbols
Definition: archive.hpp:47