5 #ifndef CVMFS_SHRINKWRAP_FS_TRAVERSAL_H_
6 #define CVMFS_SHRINKWRAP_FS_TRAVERSAL_H_
15 #define SHRINKWRAP_STAT_COUNT_FILE "cntFile"
16 #define SHRINKWRAP_STAT_COUNT_DIR "cntDir"
17 #define SHRINKWRAP_STAT_COUNT_SYMLINK "cntSymlink"
18 #define SHRINKWRAP_STAT_COUNT_BYTE "cntByte"
19 #define SHRINKWRAP_STAT_ENTRIES_SRC "entriesSrc"
20 #define SHRINKWRAP_STAT_ENTRIES_DEST "entriesDest"
21 #define SHRINKWRAP_STAT_DATA_FILES "dataFiles"
22 #define SHRINKWRAP_STAT_DATA_BYTES "dataBytes"
23 #define SHRINKWRAP_STAT_DATA_FILES_DEDUPED "dataFilesDeduped"
24 #define SHRINKWRAP_STAT_DATA_BYTES_DEDUPED "dataBytesDeduped"
26 namespace shrinkwrap {
35 uint64_t stat_period);
44 uint64_t last_print_time);
51 #endif // CVMFS_SHRINKWRAP_FS_TRAVERSAL_H_
bool SyncFull(struct fs_traversal *src, struct fs_traversal *dest, perf::Statistics *pstats, uint64_t last_print_time)
struct fs_traversal * FindInterface(const char *type)
perf::Statistics * GetSyncStatTemplate()
int SyncInit(struct fs_traversal *src, struct fs_traversal *dest, const char *base, const char *spec, uint64_t parallel, uint64_t stat_period)
int GarbageCollect(struct fs_traversal *fs)