mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Fixed fmt explorer windows
This commit is contained in:
@@ -244,12 +244,12 @@ impl std::fmt::Display for FsEntry {
|
|||||||
Some(user) => user.name().to_string_lossy().to_string(),
|
Some(user) => user.name().to_string_lossy().to_string(),
|
||||||
None => uid.to_string(),
|
None => uid.to_string(),
|
||||||
},
|
},
|
||||||
None => String::from("0"),
|
None => 0.to_string(),
|
||||||
};
|
};
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
let username: usize = match self.get_user() {
|
let username: String = match self.get_user() {
|
||||||
Some(uid) => uid as usize,
|
Some(uid) => uid.to_string(),
|
||||||
None => 0,
|
None => 0.to_string(),
|
||||||
};
|
};
|
||||||
// Get group
|
// Get group
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user