Delete Selected File from Context Menu

This commit is contained in:
émeryc
2023-07-09 23:20:22 -04:00
parent 8e8a9c6f0f
commit a73f185f94
4 changed files with 38 additions and 5 deletions

View File

@@ -166,6 +166,11 @@ namespace Nuake
fileWriter.close();
}
int FileSystem::RemoveFile(char const* path)
{
return std::remove(path);
}
Ref<Directory> FileSystem::GetFileTree()
{
return RootDirectory;