26#ifndef ARCHIVE_OPTIONS_LISTING_SHELL_HPP
27#define ARCHIVE_OPTIONS_LISTING_SHELL_HPP
29#include "//include/dar/libdar_my_config.h"
30#include "//include/dar/archive_options.hpp"
57 virtual void clear()
override;
74 void set_sizes_in_bytes(
bool arg) { x_sizes_in_bytes = arg; };
79 listformat get_list_mode()
const {
return x_list_mode; };
80 bool get_sizes_in_bytes()
const {
return x_sizes_in_bytes; };
84 bool x_sizes_in_bytes;
class holding optional shell specific parameters used to list the contents of an existing archive
listformat
defines the way archive listing is done:
@ tree
the original dar's tree listing (for those that like forest)
@ normal
the tar-like listing (this is the default)
@ xml
the xml catalogue output
@ slicing
the slicing output (give info about where files are located)
class holding optional parameters used to list the contents of an existing archive
void set_slicing_location(bool val)
whether to calculate the slice location of each file
libdar namespace encapsulate all libdar symbols