1#pragma once 2 3#include <cstdint> 4 5#include "Common/File/Path.h" 6 7// If this fails, false is returned and space is negative. 8// Try to avoid calling this from the main thread, if possible. Not super fast, 9// but is also not allowed to do things like scan the entire disk. 10bool free_disk_space(const Path &path, int64_t &space); 11 12