feat: support for FreeBSD permission type (#169)

This commit is contained in:
yggdr 2023-09-17 01:16:49 +02:00 committed by GitHub
parent 8e72ae90c1
commit a04faa9dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;