mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
remove unused is_executable
on Windows
This commit is contained in:
parent
d9b4b05d27
commit
aed96649be
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ impl Permissions {
|
|||
ColoredString::new(Colors::default_style(), res)
|
||||
}
|
||||
|
||||
#[cfg_attr(windows, allow(dead_code))]
|
||||
#[cfg(not(windows))]
|
||||
pub fn is_executable(&self) -> bool {
|
||||
self.user_execute || self.group_execute || self.other_execute
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue