Representation of the various timestamps on a file.
A builder used to create directories in various manners.
Entries returned by the
An object providing access to an open file on the filesystem.
A structure representing a type of file with accessors for each file type.
It is returned by
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.
Iterator over the entries in a directory.
Indicates how much extra capacity is needed to read the rest of the file.
Ok(true) if the path points at an existing entity.
Returns the canonical, absolute form of a path with all intermediate
components normalized and symbolic links resolved.
Copies the contents of one file to another. This function will also
copy the permission bits of the original file to the destination file.
Creates a new, empty directory at the provided path
Recursively create a directory and all of its parent components if they
Creates a new hard link on the filesystem.
Given a path, query the file system to get information about a file,
Read the entire contents of a file into a bytes vector.
Returns an iterator over the entries within a directory.
Reads a symbolic link, returning the file that the link points to.
Read the entire contents of a file into a string.
Removes an empty directory.
Removes a directory at this path, after removing all its contents. Use
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.
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.