getAvailableDiskSpace
fn
ulong getAvailableDiskSpace(scope const(char)[] path) @safeReturns the available disk space based on a given path. On Windows, path must be a directory; on POSIX systems, it can be a file or directory.
Parameters
path | on Windows, it must be a directory; on POSIX it can be a file or directory |
Returns
Available space in bytes
Throws
FileException in case of failure