Added the first stage of 'diffing' two snapshots. PrimaryFileTreeView now shows what files have been added, modified and deleted.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user