mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
feat: support for FreeBSD permission type (#169)
This commit is contained in:
parent
8e72ae90c1
commit
a04faa9dbc
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue