aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/archive_backend.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-28 11:30:25 -0400
committerbunnei <bunneidev@gmail.com>2015-10-28 11:30:25 -0400
commitaf26b7a0bcb2058c861a0ea5ce9f9762d2ffa231 (patch)
tree50428d52aef94113cf2920916951679ff9cda93a /src/core/file_sys/archive_backend.h
parent7e18bcf6e0d429d9aeb23ec85acc762023d359d4 (diff)
parent5dfd2dba70b15cead6358b40b980d5be1b32039e (diff)
Merge pull request #1208 from archshift/free-bytes
Implement FS_User::GetFreeBytes
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
-rw-r--r--src/core/file_sys/archive_backend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h
index c6a1be79d..e7a59a1ed 100644
--- a/src/core/file_sys/archive_backend.h
+++ b/src/core/file_sys/archive_backend.h
@@ -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 {