Available on crate feature
fs_utf8
only.Expand description
A fully UTF-8 filesystem API modeled after cap_std::fs
.
Where cap_std::fs
would use Path
and PathBuf
, this fs_utf8
module
uses Utf8Path
and Utf8PathBuf
, meaning that all paths are valid
UTF-8.
To use this module, enable the fs_utf8
cargo feature.
If you don’t want to restrict paths to UTF-8, use the regular
cap_std::fs
module instead.
Re-exports§
pub use camino;
Structs§
- A reference to an open directory on a filesystem.
- A builder used to create directories in various manners.
- Entries returned by the
ReadDir
iterator. - A reference to an open file on a 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.
- Iterator over the entries in a directory.
Traits§
- File
Type Ext Unix, or target_os="vxworks"
, or Windows andwindows_file_type_ext
Unix-specific extensions forFileType
.