cap_primitives::fs

Trait FileTypeExt

Source
pub trait FileTypeExt {
    // Required methods
    fn is_symlink_dir(&self) -> bool;
    fn is_symlink_file(&self) -> bool;
}
Expand description

Windows-specific extensions for FileType.

This corresponds to std::os::windows::fs::FileTypeExt.

Required Methods§

Returns true if this file type is a symbolic link that is also a directory.

Returns true if this file type is a symbolic link that is also a file.

Implementors§