Added the first stage of 'diffing' two snapshots. PrimaryFileTreeView now shows what files have been added, modified and deleted.

This commit is contained in:
Admin
2020-12-05 16:22:57 -06:00
parent 2d52886e87
commit 8a1be37434
3 changed files with 61 additions and 57 deletions
+5 -5
View File
@@ -161,15 +161,15 @@ namespace DataOrganizer
Root.DeleteFolder(folder);
folder.Parent.DeleteFolder(folder);
foreach (var file in folder.Files)
{
var f = Files.Remove(file.Key);
}
foreach (var dir in folder.Folders)
ClearSubFolders(dir.Value);
}
public void MergeSnapshot(Snapshot snapshot)
{
//TODO: build this out
}
public struct Duplicate
{
public DB.FileSnapshot File;