Struct ssh2::FileType
[−]
[src]
pub struct FileType { /* fields omitted */ }
An structure representing a type of file.
Methods
impl FileType
[src]
pub fn is_dir(&self) -> bool
[src]
Test whether this file type represents a directory.
pub fn is_file(&self) -> bool
[src]
Test whether this file type represents a regular file.
pub fn is_symlink(&self) -> bool
[src]
Test whether this file type represents a symbolic link.