mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Allow you do explicitly close stream, vfs
This commit is contained in:
@@ -39,7 +39,6 @@ namespace Tesses::Framework::Filesystem
|
||||
|
||||
void Chmod(VFSPath path, uint32_t mode);
|
||||
|
||||
|
||||
};
|
||||
extern std::shared_ptr<LocalFilesystem> LocalFS;
|
||||
}
|
||||
@@ -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();
|
||||
};
|
||||
};
|
||||
@@ -57,5 +57,6 @@ namespace Tesses::Framework::Filesystem
|
||||
|
||||
void Chmod(VFSPath path, uint32_t mode);
|
||||
|
||||
void Close();
|
||||
};
|
||||
}
|
||||
@@ -153,5 +153,7 @@ namespace Tesses::Framework::Filesystem
|
||||
virtual void Chmod(VFSPath path, uint32_t mode);
|
||||
|
||||
virtual ~VFS();
|
||||
|
||||
virtual void Close();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user