Expand description
Filesystem manipulation operations.
Modules§
- pipe
Unix Unix pipe types.
Structs§
- A wrapper for IO source, providing implementations for
AsyncRead
andAsyncWrite
. - A builder used to create directories in various manners.
- A reference to an open file on the filesystem.
- A structure representing a type of file with accessors for each file type.
- Metadata information about a file.
- Options and flags which can be used to configure how a file is opened.
- Representation of the various permissions on a file.
- A handle to the standard output stream of a process.
- A handle to the standard input stream of a process.
- A handle to the standard output stream of a process.
Functions§
- Creates a new, empty directory at the provided path.
- Recursively create a directory and all of its parent components if they are missing.
- Creates a new hard link on the filesystem.
- Given a path, query the file system to get information about a file, directory, etc.
- Read the entire contents of a file into a bytes vector.
- Removes an empty directory.
- Removes a file from the filesystem.
- Rename a file or directory to a new name, replacing the original file if
to
already exists. - Changes the permissions found on a file or a directory.
- Constructs a handle to the standard error of the current process.
- Constructs a handle to the standard input of the current process.
- Constructs a handle to the standard output of the current process.
- symlink
Unix Creates a new symbolic link on the filesystem. - Query the metadata about a file without following symlinks.
- Write a slice as the entire contents of a file.