CernVM-FS
2.12.0
|
Public Types | |
typedef ObjectFetcher::CatalogTN | CatalogTN |
typedef ObjectFetcher::HistoryTN | HistoryTN |
Public Member Functions | |
RootChainWalker (const manifest::Manifest *manifest, ObjectFetcher *object_fetcher, manifest::Reflog *reflog) | |
void | FindObjectsAndPopulateReflog () |
Protected Types | |
typedef std::vector< shash::Any > | CatalogList |
Protected Member Functions | |
CatalogTN * | FetchCatalog (const shash::Any catalog_hash) |
HistoryTN * | FetchHistory (const shash::Any history_hash) |
void | WalkRootCatalogs (const shash::Any &root_catalog_hash) |
void | WalkHistories (const shash::Any &history_hash) |
bool | WalkCatalogsInHistory (const HistoryTN *history) |
void | WalkListedCatalogs (const CatalogList &catalog_list) |
template<class DatabaseT > | |
DatabaseT * | ReturnOrAbort (const ObjectFetcherFailures::Failures failure, const shash::Any &content_hash, DatabaseT *database) |
Private Attributes | |
ObjectFetcher * | object_fetcher_ |
manifest::Reflog * | reflog_ |
const manifest::Manifest * | manifest_ |
Definition at line 21 of file swissknife_reflog.cc.
|
protected |
Definition at line 37 of file swissknife_reflog.cc.
Definition at line 23 of file swissknife_reflog.cc.
Definition at line 24 of file swissknife_reflog.cc.
|
inline |
Definition at line 27 of file swissknife_reflog.cc.
|
protected |
Definition at line 260 of file swissknife_reflog.cc.
Referenced by WalkRootCatalogs().
|
protected |
Definition at line 271 of file swissknife_reflog.cc.
Referenced by WalkHistories().
void swissknife::RootChainWalker::FindObjectsAndPopulateReflog | ( | ) |
Definition at line 172 of file swissknife_reflog.cc.
Referenced by swissknife::CommandReconstructReflog::Main().
|
protected |
Definition at line 282 of file swissknife_reflog.cc.
Referenced by FetchCatalog(), and FetchHistory().
|
protected |
If false is returned, it indicates that the history database comes from an early pre-release of the history functionality. The WalkHistory() iteration will subsequently stop. This is necessary, for instance, to handle the cernvm-prod.cern.ch repository.
Definition at line 232 of file swissknife_reflog.cc.
Referenced by WalkHistories().
|
protected |
Definition at line 203 of file swissknife_reflog.cc.
Referenced by FindObjectsAndPopulateReflog().
|
protected |
Definition at line 250 of file swissknife_reflog.cc.
Referenced by WalkCatalogsInHistory().
|
protected |
Definition at line 185 of file swissknife_reflog.cc.
Referenced by FindObjectsAndPopulateReflog(), and WalkListedCatalogs().
|
private |
Definition at line 57 of file swissknife_reflog.cc.
Referenced by FindObjectsAndPopulateReflog().
|
private |
Definition at line 55 of file swissknife_reflog.cc.
Referenced by FetchCatalog(), and FetchHistory().
|
private |
Definition at line 56 of file swissknife_reflog.cc.
Referenced by WalkHistories(), and WalkRootCatalogs().