Implement FS_User::GetFreeBytes
This commit is contained in:
parent
04325e5980
commit
5dfd2dba70
8 changed files with 60 additions and 1 deletions
|
@ -131,6 +131,12 @@ public:
|
|||
* @return Opened directory, or nullptr
|
||||
*/
|
||||
virtual std::unique_ptr<DirectoryBackend> OpenDirectory(const Path& path) const = 0;
|
||||
|
||||
/**
|
||||
* Get the free space
|
||||
* @return The number of free bytes in the archive
|
||||
*/
|
||||
virtual u64 GetFreeBytes() const = 0;
|
||||
};
|
||||
|
||||
class ArchiveFactory : NonCopyable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue