Copies sourceFilePath to targetFilePath. Any directory components
in targetFilePath that do not yet exist will be created. If sourceFilePath
is a directory, a recursive copy will be made. If an error occurs, a
JavaScript exception will be thrown.
Returns a list of the directory path's contents non-recursively, filtered by
the given filters and sorted by the given sortFlags (defaults to sorting by
name).
The values for filters are equivalent to Qt's QDir::Filter. The sortFlags
are equivalent to QDir::SortFlags.
Returns true if and only if there is a file at filePath.
Returns the time of last modification for the file at filePath. The
concrete semantics of the returned value are platform-specific. You should
only rely on the property that a smaller value indicates an older timestamp.
Makes the directory at path, creating intermediate directories if necessary.
Conceptually equivalent to mkdir -p.
Renames the file sourceFile to targetFile. Returns true if successful;
otherwise returns false.
The overwrite parameter is true by default.
If a file with the name targetFile already exists, and overwrite is false,
move() returns false (that is, the file will not be overwritten).
Removes the file at filePath. In case of a directory, it will be removed
recursively.
Generated using TypeDoc
Offers various file system operations.
1.8