mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
16 lines
418 B
C++
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
|