cap_std::fs

Trait FileTypeExt

Source
pub trait FileTypeExt {
    // Required methods
    fn is_symlink_dir(&self) -> bool;
    fn is_symlink_file(&self) -> bool;
}
Available on Unix, or target_os="vxworks", or Windows and windows_file_type_ext only.
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§

Source§

impl FileTypeExt for FileType

Available on Windows and windows_file_type_ext only.