This module contains functions to perform file system based operations such as create, delete, rename the file/directory, and retrieve metadata of the file.
For an example on the usage of the operations, see the File Example.
Directory Listener is used to listen to a directory in the local file system. It notifies when new files are created in the directory or when the existing files are deleted or modified.
For an example on the usage of the operations, see the Directory Listener Example.
Record type to hold the details of an error.
Represents an event which will trigger when there is a changes to listining direcotry.
Represents configurations that required for directory listener.
FileInfo record contains metadata information of a file.
Represents the directory listener endpoint, which is used to listen to a directory in the local file system.
Copy the file/directory in the old path to the new path.
Creates a new directory with the specified file name.
Creates a file in the specified file path.
Reports whether the file or directory exists in the given the path.
Returns the current working directory.
Returns the metadata information of the file specified in the file path.
Reads the directory and returns a list of files and directories inside the specified directory.
Removes the specified file or directory.
Renames(Moves) the old path with the new path.
Returns the default directory to use for temporary files.
Identifies invalid operation error.
Identifies permission error.
Identifies file system error.
Identifies file not found error.
Represents file system related errors.
Represents an error that occurs when the file/directory does not exist at the given filepath.
Represents an error that occurs when a file system operation fails.
Represents an error that occurs when a file system operation is denied due to invalidity.
Represents an error that occurs when a file system operation is denied, due to the absence of file permission.