示例#1
0
        private void SetupCurrentTestFolder(string testFolder, SyncLevel syncLevel = SyncLevel.Flat)
        {
            _currentTest = Path.Combine(CurrentWorkingFolder, testFolder);

            _sourceFolder      = Path.Combine(_currentTest, "src");
            _destinationFolder = Path.Combine(_currentTest, "dest");

            EnsureFolderExists(_sourceFolder);
            EnsureFolderExists(_destinationFolder);

            _syncPair = new SyncPair
            {
                Source      = _sourceFolder,
                Destination = _destinationFolder,
                Level       = syncLevel
            };

            _kontrol.Settings.SyncPairs.Add(_syncPair);
        }
示例#2
0
 public static void Sync(SyncLevel syncLevel = SyncLevel.Procedure)
 {
 }