CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CommandApplyDirtab Class Reference

#include <swissknife_sync.h>

Inheritance diagram for swissknife::CommandApplyDirtab:
Collaboration diagram for swissknife::CommandApplyDirtab:

Public Member Functions

 CommandApplyDirtab ()
 
 ~CommandApplyDirtab ()
 
virtual std::string GetName () const
 
virtual std::string GetDescription () const
 
virtual ParameterList GetParams () const
 
int Main (const ArgumentList &args)
 
- Public Member Functions inherited from swissknife::Command
 Command ()
 
virtual ~Command ()
 
- Public Member Functions inherited from ServerTool
 ServerTool ()
 
virtual ~ServerTool ()
 
bool InitDownloadManager (const bool follow_redirects, const unsigned max_pool_handles=1, const bool use_system_proxy=true)
 
bool InitVerifyingSignatureManager (const std::string &pubkey_path, const std::string &trusted_certs="")
 
bool InitSigningSignatureManager (const std::string &certificate_path, const std::string &private_key_path, const std::string &private_key_password)
 
manifest::ManifestOpenLocalManifest (const std::string path) const
 
manifest::Failures FetchRemoteManifestEnsemble (const std::string &repository_url, const std::string &repository_name, manifest::ManifestEnsemble *ensemble) const
 
manifest::ManifestFetchRemoteManifest (const std::string &repository_url, const std::string &repository_name, const shash::Any &base_hash=shash::Any()) const
 
template<class ObjectFetcherT >
manifest::ReflogFetchReflog (ObjectFetcherT *object_fetcher, const std::string &repo_name, const shash::Any &reflog_hash)
 
manifest::ReflogCreateEmptyReflog (const std::string &temp_directory, const std::string &repo_name)
 
download::DownloadManagerdownload_manager () const
 
signature::SignatureManagersignature_manager () const
 
perf::Statisticsstatistics ()
 
const perf::Statisticsstatistics () const
 

Protected Member Functions

void DetermineNestedCatalogCandidates (const catalog::Dirtab &dirtab, catalog::SimpleCatalogManager *catalog_manager, std::vector< std::string > *nested_catalog_candidates)
 
void FilterCandidatesFromGlobResult (const catalog::Dirtab &dirtab, char **paths, const size_t npaths, catalog::SimpleCatalogManager *catalog_manager, std::vector< std::string > *nested_catalog_candidates)
 
bool CreateCatalogMarkers (const std::vector< std::string > &new_nested_catalogs)
 

Private Attributes

std::string union_dir_
 
std::string scratch_dir_
 
bool verbose_
 

Additional Inherited Members

- Static Public Attributes inherited from swissknife::Command
static const char kGenericParam = '+'
 
static const char kGenericParamSeparator = ','
 
- Protected Attributes inherited from ServerTool
UniquePtr
< download::DownloadManager
download_manager_
 
UniquePtr
< signature::SignatureManager
signature_manager_
 
perf::Statistics statistics_
 

Detailed Description

Definition at line 203 of file swissknife_sync.h.

Constructor & Destructor Documentation

swissknife::CommandApplyDirtab::CommandApplyDirtab ( )
inline

Definition at line 205 of file swissknife_sync.h.

swissknife::CommandApplyDirtab::~CommandApplyDirtab ( )
inline

Definition at line 206 of file swissknife_sync.h.

Member Function Documentation

bool swissknife::CommandApplyDirtab::CreateCatalogMarkers ( const std::vector< std::string > &  new_nested_catalogs)
protected

Definition at line 491 of file swissknife_sync.cc.

Here is the call graph for this function:

void swissknife::CommandApplyDirtab::DetermineNestedCatalogCandidates ( const catalog::Dirtab dirtab,
catalog::SimpleCatalogManager catalog_manager,
std::vector< std::string > *  nested_catalog_candidates 
)
protected

Definition at line 355 of file swissknife_sync.cc.

Here is the call graph for this function:

void swissknife::CommandApplyDirtab::FilterCandidatesFromGlobResult ( const catalog::Dirtab dirtab,
char **  paths,
const size_t  npaths,
catalog::SimpleCatalogManager catalog_manager,
std::vector< std::string > *  nested_catalog_candidates 
)
protected

Definition at line 403 of file swissknife_sync.cc.

Here is the call graph for this function:

virtual std::string swissknife::CommandApplyDirtab::GetDescription ( ) const
inlinevirtual

Implements swissknife::Command.

Definition at line 208 of file swissknife_sync.h.

virtual std::string swissknife::CommandApplyDirtab::GetName ( ) const
inlinevirtual

Implements swissknife::Command.

Definition at line 207 of file swissknife_sync.h.

virtual ParameterList swissknife::CommandApplyDirtab::GetParams ( ) const
inlinevirtual

Implements swissknife::Command.

Definition at line 211 of file swissknife_sync.h.

Here is the call graph for this function:

int swissknife::CommandApplyDirtab::Main ( const ArgumentList args)
virtual

Implements swissknife::Command.

Definition at line 260 of file swissknife_sync.cc.

Here is the call graph for this function:

Member Data Documentation

std::string swissknife::CommandApplyDirtab::scratch_dir_
private

Definition at line 238 of file swissknife_sync.h.

std::string swissknife::CommandApplyDirtab::union_dir_
private

Definition at line 237 of file swissknife_sync.h.

bool swissknife::CommandApplyDirtab::verbose_
private

Definition at line 239 of file swissknife_sync.h.


The documentation for this class was generated from the following files: