CernVM-FS  2.12.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 std::string &proxy, const unsigned max_pool_handles=1)
 
bool InitSignatureManager (const std::string &pubkey_path, const std::string &certificate_path="", const std::string &private_key_path="")
 
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 210 of file swissknife_sync.h.

Constructor & Destructor Documentation

swissknife::CommandApplyDirtab::CommandApplyDirtab ( )
inline

Definition at line 212 of file swissknife_sync.h.

swissknife::CommandApplyDirtab::~CommandApplyDirtab ( )
inline

Definition at line 213 of file swissknife_sync.h.

Member Function Documentation

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

Definition at line 504 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 363 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 414 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 215 of file swissknife_sync.h.

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

Implements swissknife::Command.

Definition at line 214 of file swissknife_sync.h.

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

Implements swissknife::Command.

Definition at line 218 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 264 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 246 of file swissknife_sync.h.

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

Definition at line 245 of file swissknife_sync.h.

bool swissknife::CommandApplyDirtab::verbose_
private

Definition at line 247 of file swissknife_sync.h.


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