FileSystem

Models an OS-specific file-system. Included here are methods to manipulate the current working directory, and to convert a path to its absolute form.

Members

Properties

roots
char[][] roots [@property getter]

List the set of root devices (C:, D: etc)

roots
char[][] roots [@property getter]

List the set of root devices.

Static functions

freeSpace
long freeSpace(const(char)[] folder, bool superuser)

Request how much free space in bytes is available on the disk/mountpoint where folder resides.

freeSpace
long freeSpace(const(char)[] folder, bool superuser)

Request how much free space in bytes is available on the disk/mountpoint where folder resides.

getDirectory
deprecated char[] getDirectory()

Return the current working directory

getDirectory
deprecated char[] getDirectory()

Return the current working directory

setDirectory
deprecated void setDirectory(const(char)[] path)

Set the current working directory

setDirectory
deprecated void setDirectory(const(char)[] path)

Set the current working directory

totalSpace
ulong totalSpace(const(char)[] folder, bool superuser)

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

totalSpace
long totalSpace(const(char)[] folder, bool superuser)

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

Meta