Remove Type from Differece, CopyCommand refactor

This commit is contained in:
2022-02-18 17:15:11 +01:00
parent 83b86f2b50
commit 502f80313a
10 changed files with 61 additions and 89 deletions

View File

@@ -27,7 +27,6 @@ namespace FileTime.Core.Command
_deleteContainer = (c) =>
{
newDifferences.Add(new Difference(
DifferenceItemType.Container,
DifferenceActionType.Delete,
new AbsolutePath(c)
));
@@ -37,7 +36,6 @@ namespace FileTime.Core.Command
_deleteElement = (e) =>
{
newDifferences.Add(new Difference(
DifferenceItemType.Element,
DifferenceActionType.Delete,
new AbsolutePath(e)
));