Minor updates

This commit is contained in:
Georg Hagen
2025-05-22 21:49:56 +02:00
parent 3675a4e4a3
commit ee2a579450
4 changed files with 18 additions and 7 deletions

View File

@@ -24,6 +24,15 @@ namespace OpenVulkano
[[deprecated("Use MkFile instead")]]
static FileDescription MakeDescriptionForFile(const char* path, const size_t size) { return MkFile(path, size); }
void Reset()
{
type = std::filesystem::file_type::unknown;
path = "";
size = 0;
permissions = {};
createTime = modTime = {};
}
static FileDescription MkFile(const char* path, const size_t size)
{
return {