Skip to content

Commit

Permalink
feat: support for FreeBSD permission type (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggdr authored Sep 16, 2023
1 parent 8e72ae9 commit a04faa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shared/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ pub fn file_mode(mode: u32) -> String {

#[cfg(target_os = "macos")]
let m = mode as u16;
#[cfg(target_os = "freebsd")]
let m = mode as u16;
#[cfg(target_os = "linux")]
let m = mode;

Expand Down

0 comments on commit a04faa9

Please sign in to comment.