Loading...
Searching...
No Matches
database_aux.hpp
Go to the documentation of this file.
/*********************************************************************/
// dar - disk archive - a backup/restoration program
// Copyright (C) 2002-2026 Denis Corbin
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
//
// to contact the author, see the AUTHOR file
/*********************************************************************/
#ifndef DATABASE_AUX_HPP
#define DATABASE_AUX_HPP
#include "../my_config.h"
namespace libdar
{
enum class db_lookup
{
found_present,
found_removed,
not_found,
not_restorable
};
enum class db_etat
{
et_saved,
et_patch,
et_patch_unusable,
et_inode,
et_present,
et_removed,
et_absent
};
} // end of namespace
#endif
libdar::db_lookup
db_lookup
the available status of a lookup
Definition database_aux.hpp:41
libdar::db_etat
db_etat
the status for a founded entry
Definition database_aux.hpp:55
libdar::db_lookup::not_found
@ not_found
no such file has been found in any archive of the base
Definition database_aux.hpp:44
libdar::db_lookup::found_removed
@ found_removed
file data/EA has been found as removed at that date
Definition database_aux.hpp:43
libdar::db_lookup::found_present
@ found_present
file data/EA has been found completely usable
Definition database_aux.hpp:42
libdar::db_lookup::not_restorable
@ not_restorable
file data/EA has been found existing at that date but not possible to restore (lack of data,...
Definition database_aux.hpp:45
libdar::db_etat::et_saved
@ et_saved
data/EA present in the archive
Definition database_aux.hpp:56
libdar::db_etat::et_present
@ et_present
file/EA present in the archive but data not saved (differential backup)
Definition database_aux.hpp:60
libdar::db_etat::et_removed
@ et_removed
file/EA stored as deleted since archive of reference or file/EA not present in the archive
Definition database_aux.hpp:61
libdar::db_etat::et_patch
@ et_patch
data present as patch since the previous version
Definition database_aux.hpp:57
libdar::db_etat::et_patch_unusable
@ et_patch_unusable
data present as patch but base version not found in archive set
Definition database_aux.hpp:58
libdar::db_etat::et_absent
@ et_absent
file not even mentionned in the archive, This entry is equivalent to et_removed, but is required to b...
Definition database_aux.hpp:62
libdar::db_etat::et_inode
@ et_inode
only inode metadata has been modified since previous version
Definition database_aux.hpp:59
my_config.h
include macro defined by the configure script and some specific additional ones
libdar
libdar namespace encapsulate all libdar symbols
Definition archive.hpp:47