File

Undocumented in source.

Constructors

this
this(string path, bool checkPath)

Constructs a new file from the given path.

Members

Functions

extension
string extension()

Returns the extension based on the mime type.

getName
string getName(string name)

Returns locale independent base name of the given path.

getTargetFile
string getTargetFile(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
mimeType
string mimeType()

Returns the mime type of the file.

move
bool move(string path)

Moves the file to a new location.

path
string path()
Undocumented in source. Be warned that the author may not have intended to support it.
size
long size()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta