Implement FS_User::GetFreeBytes

This commit is contained in:
archshift
2015-10-18 15:52:37 -07:00
parent 04325e5980
commit 5dfd2dba70
8 changed files with 60 additions and 1 deletions

View File

@ -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 {