Beispiel #1
0
        public SyncStack(string folderToSync, Drive drive)
        {
            tempSyncItems            = new List <SynchronizingItem>();
            lockedSynchronizingItems = new List <SynchronizingItem>();
            localStack  = new SyncStackState(drive);
            this.drive  = drive;
            this.folder = folderToSync;

            ModLog = new ModifiedFileLog();
            ModLog.LoadFrom();

            localStack.LoadStateFrom();

            var pending = localStack.GetPendingItems();

            tempSyncItems.AddRange(pending);
        }
Beispiel #2
0
 public ModifiedFileLog()
 {
     Main     = this;
     filesMod = new SafeDictionary <string, ModHeader>();
 }