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

@ -74,6 +74,11 @@ std::unique_ptr<DirectoryBackend> DiskArchive::OpenDirectory(const Path& path) c
return std::move(directory);
}
u64 DiskArchive::GetFreeBytes() const {
// TODO: Stubbed to return 1GiB
return 1024 * 1024 * 1024;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
DiskFile::DiskFile(const DiskArchive& archive, const Path& path, const Mode mode) {