Allow you do explicitly close stream, vfs

This commit is contained in:
2025-09-29 03:53:54 -05:00
parent d785508571
commit 234ec372a4
19 changed files with 54 additions and 7 deletions

View File

@@ -39,7 +39,6 @@ namespace Tesses::Framework::Filesystem
void Chmod(VFSPath path, uint32_t mode);
};
extern std::shared_ptr<LocalFilesystem> LocalFS;
}

View File

@@ -94,6 +94,7 @@ namespace Tesses::Framework::Filesystem
VFSPath SystemToVFSPath(std::string path);
void GetDate(VFSPath path, Date::DateTime& lastWrite, Date::DateTime& lastAccess);
void SetDate(VFSPath path, Date::DateTime lastWrite, Date::DateTime lastAccess);
~MemoryFilesystem();
};
};

View File

@@ -57,5 +57,6 @@ namespace Tesses::Framework::Filesystem
void Chmod(VFSPath path, uint32_t mode);
void Close();
};
}

View File

@@ -153,5 +153,7 @@ namespace Tesses::Framework::Filesystem
virtual void Chmod(VFSPath path, uint32_t mode);
virtual ~VFS();
virtual void Close();
};
}