The file system (fs) package provides functions for operating files, folders, paths, and file metadata.
Currently, the fs package can be used in Linux, macOS, and Windows.
Name Description
Directory Provides capabilities such as creating, moving, copying, deleting, querying, and traversing a directory in a file system.
File Provides functions for performing operations on files, including opening, creating, closing, moving, copying, and deleting files, reading and writing files using a stream, and querying attributes.
Name Description
OpenOption Indicates different file opening options.
Name Description
FileDescriptor Obtains the file handle information.
FileInfo Provides functions for querying and setting file attributes for file metadata in a file system.
Path Provides path-related functions.
Name Description
FSException Specifies the file stream exception class and inherits the exception class.