| Disk ARchive 2.8.5 Full featured and portable backup and archiving tool

Loading...
Searching...
No Matches
Namespaces
restore_tree.hpp File Reference
Private

restore_tree class stores archive location needed to restore files More...

`#include "../my_config.h"`
`#include <string>`
`#include <memory>`
`#include <map>`
`#include "path.hpp"`
`#include "data_tree.hpp"`
`#include "datetime.hpp"`
`#include "mask.hpp"`

Go to the source code of this file.

## Namespaces
namespace | libdar
| libdar namespace encapsulate all libdar symbols

## Detailed Description

restore_tree class stores archive location needed to restore files

This class forms a tree of restore_tree (add_child() and find() methods) following a path structure: At each level of the tree, a node has a name correspondig to the subdir name of a path (where from find() receives a path as argument and returns a pointer to the corresponding restore_tree object

each node of the tree, correspond to an inode of a dar_manager database (see constructor argument) and stores the archive number to use to restore that file. In particular, if a more recent version is found in a archive with a higher index, the list of archive num will not mention lower archive indexes.

Definition in file restore_tree.hpp.