mirror of
https://github.com/kwsch/pkNX.git
synced 2026-09-30 13:16:58 -05:00
Add delete mode options for VFS
This commit is contained in:
@@ -76,8 +76,8 @@ public void CreateDirectory(FileSystemPath path)
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Delete(FileSystemPath path)
|
||||
public void Delete(FileSystemPath path, DeleteMode mode = DeleteMode.TopMostLayer)
|
||||
{
|
||||
FileSystem.Delete(ToAbsolutePath(path));
|
||||
FileSystem.Delete(ToAbsolutePath(path), mode);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user