Expand description
Filesystem manipulation operations.
Structs§
- File
- A reference to an open file on the filesystem.
- File
Type - A structure representing a type of file with accessors for each file type.
- Metadata
- Metadata information about a file.
- Open
Options - Options and flags which can be used to configure how a file is opened.
- Permissions
- Representation of the various permissions on a file.
Functions§
- metadata
- Given a path, query the file system to get information about a file, directory, etc.
- read
- Read the entire contents of a file into a bytes vector.
- symlink_
metadata - Query the metadata about a file without following symlinks.
- write
- Write a buffer as the entire contents of a file.