FileSystem.totalSpace

Request how large in bytes the disk/mountpoint where folder resides is.

If a quota limit exists for this area, then that quota can be what will be returned unless superuser is set to true. On Posix systems this distinction is not made though.

Note: Access to this information when _superuser is set to true may only be available if the program is run in superuser mode.

struct FileSystem
static
long
totalSpace
(
char[] folder
,
bool superuser = false
)

See Also

freeSpace

Meta