mirror of
https://github.com/kwsch/pkNX.git
synced 2026-10-03 14:50:39 -05:00
Add delete mode options for VFS
This commit is contained in:
@@ -107,9 +107,9 @@ public void CreateDirectory(FileSystemPath path)
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Delete(FileSystemPath path)
|
||||
public void Delete(FileSystemPath path, DeleteMode mode = DeleteMode.TopMostLayer)
|
||||
{
|
||||
var mount = GetMountPoint(path);
|
||||
mount.FileSystem.Delete(path);
|
||||
mount.FileSystem.Delete(path, mode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user