Admin ItemDeleter, Logging
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -1,3 +1,6 @@
|
||||
namespace FileTime.Core.Models;
|
||||
|
||||
public record NativePath(string Path);
|
||||
public record NativePath(string Path)
|
||||
{
|
||||
public override string ToString() => Path;
|
||||
}
|
||||
Reference in New Issue
Block a user