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.

See also: freeSpace()

  1. ulong totalSpace(const(char)[] folder, bool superuser)
    struct FileSystem
    version(Windows)
    static
    ulong
    totalSpace
    (
    const(char)[] folder
    ,
    bool superuser = false
    )
  2. long totalSpace(const(char)[] folder, bool superuser)

Meta

Since

0.99.9