Admin ItemDeleter, Logging

This commit is contained in:
2023-07-26 11:30:26 +02:00
parent 66113ee9a0
commit 3de71cbdbe
15 changed files with 157 additions and 27 deletions

View File

@@ -22,6 +22,8 @@ public record FullName(string Path)
public string GetName()
=> Path.Split(Constants.SeparatorChar).Last();
public FullName GetChild(string childName)
=> new FullName(Path + Constants.SeparatorChar + childName);
public FullName GetChild(string childName)
=> new(Path + Constants.SeparatorChar + childName);
public override string ToString() => Path;
}

View File

@@ -1,3 +1,6 @@
namespace FileTime.Core.Models;
public record NativePath(string Path);
public record NativePath(string Path)
{
public override string ToString() => Path;
}