diff options
Diffstat (limited to 'src/util/system.h')
-rw-r--r-- | src/util/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/system.h b/src/util/system.h index 69ae11d1ed..2a2ee9bc1d 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -72,6 +72,7 @@ bool RenameOver(fs::path src, fs::path dest); bool LockDirectory(const fs::path& directory, const std::string lockfile_name, bool probe_only=false); void UnlockDirectory(const fs::path& directory, const std::string& lockfile_name); bool DirIsWritable(const fs::path& directory); +bool CheckDiskSpace(const fs::path& dir, uint64_t nAdditionalBytes = 0); /** Release all directory locks. This is used for unit testing only, at runtime * the global destructor will take care of the locks. |