class holding optional parameters used to list the contents of an existing archive
More...
#include <archive_options.hpp>
class holding optional parameters used to list the contents of an existing archive
Definition at line 1474 of file archive_options.hpp.
◆ archive_options_listing() [1/3]
libdar::archive_options_listing::archive_options_listing |
( |
| ) |
|
|
inline |
◆ archive_options_listing() [2/3]
◆ archive_options_listing() [3/3]
◆ ~archive_options_listing()
virtual libdar::archive_options_listing::~archive_options_listing |
( |
| ) |
|
|
inlinevirtual |
◆ get_display_ea()
bool libdar::archive_options_listing::get_display_ea |
( |
| ) |
const |
|
inline |
◆ get_filter_unsaved()
bool libdar::archive_options_listing::get_filter_unsaved |
( |
| ) |
const |
|
inline |
◆ get_info_details()
bool libdar::archive_options_listing::get_info_details |
( |
| ) |
const |
|
inline |
◆ get_slicing_location()
bool libdar::archive_options_listing::get_slicing_location |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_display_ea()
void libdar::archive_options_listing::set_display_ea |
( |
bool |
display_ea | ) |
|
|
inline |
whether to fetch EA for listing
- Note
- this operation implies a lot of processing
Definition at line 1527 of file archive_options.hpp.
◆ set_filter_unsaved()
void libdar::archive_options_listing::set_filter_unsaved |
( |
bool |
filter_unsaved | ) |
|
|
inline |
◆ set_info_details()
void libdar::archive_options_listing::set_info_details |
( |
bool |
info_details | ) |
|
|
inline |
whether output should be verbosed --> to be moved to shell output
Definition at line 1491 of file archive_options.hpp.
◆ set_selection()
void libdar::archive_options_listing::set_selection |
( |
const mask & |
selection | ) |
|
mask applied to filename, only those marching it will be listed
- Note
- this mask does not reject directory (it does not apply to it)
◆ set_slicing_location()
void libdar::archive_options_listing::set_slicing_location |
( |
bool |
val | ) |
|
|
inline |
◆ set_subtree()
void libdar::archive_options_listing::set_subtree |
( |
const mask & |
subtree | ) |
|
defines the directories and files to consider
- Note
- WARNING: The filter mechanism used here is common to all operations and works by comparing full paths, while in the other hand, paths stored in the libdar archive are all relative to what was provided as fs_root at backup time. To have this filter mecanism working in the context of listing, where no fs_root can be provided to transform relative paths to absolute paths, libdar will emulate an fs_root with the pseudo root value of the path::FAKE_ROOT field. This is invisible form the libdar API user except when relying on mask_list objects, which cannot thus receive full path as those would not be prepended by path::FAKE_ROOT as fs_root value, because fs_root prefixing is only performed for relative paths.
◆ set_user_slicing()
void libdar::archive_options_listing::set_user_slicing |
( |
const infinint & |
slicing_first, |
|
|
const infinint & |
slicing_others |
|
) |
| |
when slice location is performed, user may modify the slice layout of the archive
- Note
- this is needed for archive format older than 8 and when listing an isolated catalogue which original archive has been resized after the isolation operation. This option is not used if set_slicing_location is set to false
◆ x_display_ea
bool libdar::archive_options_listing::x_display_ea |
|
private |
◆ x_filter_unsaved
bool libdar::archive_options_listing::x_filter_unsaved |
|
private |
◆ x_info_details
bool libdar::archive_options_listing::x_info_details |
|
private |
◆ x_selection
mask* libdar::archive_options_listing::x_selection |
|
private |
◆ x_slicing_first
infinint* libdar::archive_options_listing::x_slicing_first |
|
private |
◆ x_slicing_location
bool libdar::archive_options_listing::x_slicing_location |
|
private |
◆ x_slicing_others
infinint* libdar::archive_options_listing::x_slicing_others |
|
private |
◆ x_subtree
mask* libdar::archive_options_listing::x_subtree |
|
private |
The documentation for this class was generated from the following file: