2024-12-06 10:58:55 +00:00
|
|
|
#pragma once
|
|
|
|
#include "VFS.hpp"
|
|
|
|
namespace Tesses::Framework::Filesystem
|
|
|
|
{
|
|
|
|
class NullFilesystem : public VFS
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Tesses::Framework::Streams::Stream* OpenFile(VFSPath path, std::string mode);
|
|
|
|
void CreateDirectory(VFSPath path);
|
|
|
|
void DeleteDirectory(VFSPath path);
|
|
|
|
bool RegularFileExists(VFSPath path);
|
|
|
|
bool DirectoryExists(VFSPath path);
|
|
|
|
void DeleteFile(VFSPath path);
|
2024-12-28 20:46:58 +00:00
|
|
|
VFSPathEnumerator EnumeratePaths(VFSPath path);
|
2024-12-06 10:58:55 +00:00
|
|
|
void MoveFile(VFSPath src, VFSPath dest);
|
|
|
|
std::string VFSPathToSystem(VFSPath path);
|
|
|
|
VFSPath SystemToVFSPath(std::string path);
|
|
|
|
};
|
|
|
|
}
|