mirror of https://github.com/sharkdp/fd.git
25 lines
535 B
Rust
25 lines
535 B
Rust
/// Whether or not to show
|
|
pub struct FileTypes {
|
|
pub files: bool,
|
|
pub directories: bool,
|
|
pub symlinks: bool,
|
|
pub sockets: bool,
|
|
pub pipes: bool,
|
|
pub executables_only: bool,
|
|
pub empty_only: bool,
|
|
}
|
|
|
|
impl Default for FileTypes {
|
|
fn default() -> FileTypes {
|
|
FileTypes {
|
|
files: false,
|
|
directories: false,
|
|
symlinks: false,
|
|
sockets: false,
|
|
pipes: false,
|
|
executables_only: false,
|
|
empty_only: false,
|
|
}
|
|
}
|
|
}
|