Copies a file from one location to another.
path to the file to copy from
path to the file to copy to
Returns all files in the specified directory
path of the specified directory
Return true if a file or directory exists at the specified location.
path to the specified file or directory
Join joins an array of path elements into a single path, separating them with an OS specific Separator. Empty elements are ignored. The result is Cleaned. However, if the argument list is empty or all its elements are empty, Join returns an empty string. On Windows, the result will only be a UNC path if the first non-empty element is a UNC path.
an array of path segments to join
Listen changes to the contents of the directory.
path of directory to listen.
the callback function that's called when a file in the directory changes.
Listen changes to a specific file.
path of file to listen.
the callback function called when the file changes.
Makes a directory at the specified location.
destination of where directory needs to be created at
file mode and permission bits
Moves a file from one location to another.
path of where to move the file from
path of where to move the file to
Opens a file using the default tool for the extension provided in the path parameter, including directories. Limited to .csv, .doc, .docx, .pdf, .txt, .xls, .xlsx
a string providing the path to the file to open
Returns the contents of the specified file.
path of the specified file
Removes a file/directory at the specified path.
path of the file or directory to remove
Returns info about a specified file/directory.
path to the specified file or directory
Unzips sourced file to a specified directory.
path to the file to unzip. File has to have .zip extension.
path to the output directory. If the unzipped file already exists in the output directory, the file will be overwritten.
Get the Loop's working directory
Writes (overwrites or appends) data to the specified file with specific permissions. New file will be created if file not exist
Generated using TypeDoc
The FileSystem aptitude provides access to the ability to read, write, delete files.