ultimatepp/bazaar/FSMonSync/SyncUtils.h
micio cf02bd831d Bazaar/FSMonSync : re-added test package for FSMon - was lost somewhere
git-svn-id: svn://ultimatepp.org/upp/trunk@4946 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-05-14 07:54:21 +00:00

16 lines
418 B
C++

#ifndef _FSMonSync_SyncUtils_h_
#define _FSMonSync_SyncUtils_h_
#include <Core/Core.h>
using namespace Upp;
// synchronize a source file with a dest one
// checks filestamp, size and attributes
bool SyncFile(String const &src, String const &dst);
// synchronizes a whole source folder with a dest one
// uses SyncFile for single files synchronization
bool SyncFolder(String const &src, String const &dst);
#endif