Skip to content

Commit

Permalink
remove unused is_executable on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Icxolu committed Nov 24, 2022
1 parent 1f4fd48 commit 2ed6461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/permissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2ed6461

Please sign in to comment.