Crate cap_fs_ext[][src]

Extension traits for Dir

Structs

Metadata

Re-export these to allow them to be used with Reuse.

OpenOptions

Re-export these to allow them to be used with Reuse.

Enums

FollowSymlinks

Re-export these to allow them to be used with Reuse.

SystemTimeSpec

A value for specifying a time.

Traits

DirEntryExt

Extension trait for DirEntry.

DirExt

Extension trait for Dir.

FileTypeExt

Extension trait for FileType.

IsFileReadWrite

A trait for the is_file_read_write function for File types.

MetadataExt

Extension trait for Metadata.

OpenOptionsFollowExt

Extension trait for cap_primitives::fs::OpenOptions which adds follow, a function for controlling whether a symlink in the last component of a path is followed.

OpenOptionsMaybeDirExt

Extension trait for cap_primitives::fs::OpenOptions which adds maybe_dir, a function for controlling whether an open should attempt to succeed on a directory. On Posix-ish platforms, opening a directory always succeeds, but on Windows, opening a directory needs this option.

Reopen

A trait for the reopen function.