Implement FS_User::GetFreeBytes

This commit is contained in:
archshift 2015-10-18 15:52:37 -07:00
parent d52e81d425
commit 5da25ae7d0
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 {