CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
anonymous_namespace{repository_diff.cc}::DiffForwarder Class Reference
Inheritance diagram for anonymous_namespace{repository_diff.cc}::DiffForwarder:
Collaboration diagram for anonymous_namespace{repository_diff.cc}::DiffForwarder:

Public Member Functions

 DiffForwarder (catalog::SimpleCatalogManager *old_mgr, catalog::SimpleCatalogManager *new_mgr, publish::DiffListener *listener)
 
virtual ~DiffForwarder ()
 
virtual void ReportAddition (const PathString &path, const catalog::DirectoryEntry &entry, const XattrList &, const FileChunkList &)
 
virtual void ReportRemoval (const PathString &path, const catalog::DirectoryEntry &entry)
 
virtual bool ReportModification (const PathString &path, const catalog::DirectoryEntry &old_entry, const catalog::DirectoryEntry &new_entry, const XattrList &, const FileChunkList &)
 
- Public Member Functions inherited from CatalogDiffTool< catalog::SimpleCatalogManager >
 CatalogDiffTool (catalog::SimpleCatalogManager *old_catalog_mgr, catalog::SimpleCatalogManager *new_catalog_mgr)
 
 CatalogDiffTool (const std::string &repo_path, const shash::Any &old_root_hash, const shash::Any &new_root_hash, const std::string &temp_dir_prefix, download::DownloadManager *download_manager, const std::string &cache_dir="")
 
virtual ~CatalogDiffTool ()
 
bool Init ()
 
bool Run (const PathString &path)
 

Private Attributes

publish::DiffListener * listener_
 

Additional Inherited Members

- Protected Member Functions inherited from CatalogDiffTool< catalog::SimpleCatalogManager >
virtual bool IsIgnoredPath (const PathString &)
 
virtual bool IsReportablePath (const PathString &)
 
const catalog::CatalogGetOldCatalog () const
 
const catalog::CatalogGetNewCatalog () const
 
catalog::SimpleCatalogManagerGetOldCatalogMgr ()
 
catalog::SimpleCatalogManagerGetNewCatalogMgr ()
 

Detailed Description

Definition at line 45 of file repository_diff.cc.

Constructor & Destructor Documentation

anonymous_namespace{repository_diff.cc}::DiffForwarder::DiffForwarder ( catalog::SimpleCatalogManager old_mgr,
catalog::SimpleCatalogManager new_mgr,
publish::DiffListener *  listener 
)
inline

Definition at line 50 of file repository_diff.cc.

virtual anonymous_namespace{repository_diff.cc}::DiffForwarder::~DiffForwarder ( )
inlinevirtual

Definition at line 57 of file repository_diff.cc.

Member Function Documentation

virtual void anonymous_namespace{repository_diff.cc}::DiffForwarder::ReportAddition ( const PathString path,
const catalog::DirectoryEntry entry,
const XattrList ,
const FileChunkList  
)
inlinevirtual

Implements CatalogDiffTool< catalog::SimpleCatalogManager >.

Definition at line 59 of file repository_diff.cc.

Here is the call graph for this function:

virtual bool anonymous_namespace{repository_diff.cc}::DiffForwarder::ReportModification ( const PathString path,
const catalog::DirectoryEntry old_entry,
const catalog::DirectoryEntry new_entry,
const XattrList ,
const FileChunkList  
)
inlinevirtual

Implements CatalogDiffTool< catalog::SimpleCatalogManager >.

Definition at line 73 of file repository_diff.cc.

Here is the call graph for this function:

virtual void anonymous_namespace{repository_diff.cc}::DiffForwarder::ReportRemoval ( const PathString path,
const catalog::DirectoryEntry entry 
)
inlinevirtual

Implements CatalogDiffTool< catalog::SimpleCatalogManager >.

Definition at line 67 of file repository_diff.cc.

Here is the call graph for this function:

Member Data Documentation

publish::DiffListener* anonymous_namespace{repository_diff.cc}::DiffForwarder::listener_
private

Definition at line 47 of file repository_diff.cc.


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