Expand description
Wrapper for std::fs
methods
Enums§
- Various error variants for
std::fs
operations that serve as an addition to theio::Error
which does not provide any information about the path.
Functions§
- Writes atomically to file.
- Wrapper for
std::fs::create_dir_all
- Wrapper for
File::create
. - Wrapper for
std::fs::metadata
- Wrapper for
File::open
. - Read the entire contents of a file into a bytes vector.
- Wrapper for
std::fs::read_dir
- Reads the JSON file and deserialize it into the provided type.
- Wrapper for
std::fs::read_to_string
- Wrapper for
std::fs::remove_dir_all
- Wrapper for
std::fs::remove_file
- Wrapper for
std::fs::rename
- Wrapper for
std::fs::write
- Writes the object as a JSON object.
Type Aliases§
- Result alias for
FsPathError
.