5 #define __STDC_FORMAT_MACROS
18 const std::string &rdonly_path,
19 const std::string &union_path,
20 const std::string &scratch_path)
21 :
SyncUnion(mediator, rdonly_path, union_path, scratch_path) {
49 "Aufs starting traversal "
50 "recursion for scratch_path=[%s] with external data set to %d",
62 return FileExists(directory->GetScratchPath() +
"/.wh..wh..opq");
66 const std::string &filename = entry->filename();
71 const string &filename) {
virtual void LeaveDirectory(const std::string &parent_dir, const std::string &dir_name)
bool IsWhiteoutEntry(SharedPtr< SyncItem > entry) const
VoidCallback fn_new_symlink
VoidCallback fn_new_character_dev
void Recurse(const std::string &dir_path) const
std::string scratch_path() const
A simple recursion engine to abstract the recursion of directories. It provides several callback hook...
assert((mem||(size==0))&&"Out Of Memory")
VoidCallback fn_leave_dir
virtual void ProcessSymlink(const std::string &parent_dir, const std::string &link_name)
std::string UnwindWhiteoutFilename(SharedPtr< SyncItem > entry) const
bool FileExists(const std::string &path)
SyncUnionAufs(SyncMediator *mediator, const std::string &rdonly_path, const std::string &union_path, const std::string &scratch_path)
BoolCallback fn_ignore_file
bool IsOpaqueDirectory(SharedPtr< SyncItem > directory) const
AbstractSyncMediator * mediator_
VoidCallback fn_enter_dir
bool IsInitialized() const
void ProcessBlockDevice(const std::string &parent_dir, const std::string &filename)
virtual bool IgnoreFilePredicate(const std::string &parent_dir, const std::string &filename)
bool IgnoreFilePredicate(const std::string &parent_dir, const std::string &filename)
void ProcessSocket(const std::string &parent_dir, const std::string &filename)
virtual void ProcessRegularFile(const std::string &parent_dir, const std::string &filename)
VoidCallback fn_new_block_dev
std::string whiteout_prefix_
VoidCallback fn_new_socket
std::set< std::string > ignore_filenames_
BoolCallback fn_new_dir_prefix
virtual bool ProcessDirectory(const std::string &parent_dir, const std::string &dir_name)
virtual void EnterDirectory(const std::string &parent_dir, const std::string &dir_name)
void ProcessFifo(const std::string &parent_dir, const std::string &filename)
void ProcessCharacterDevice(const std::string &parent_dir, const std::string &filename)
CVMFS_EXPORT void LogCvmfs(const LogSource source, const int mask, const char *format,...)