mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-13 21:52:37 +00:00
change parameter of windows file permission utility function
This commit is contained in:
parent
218a867570
commit
e01238c09d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ use super::{Owner, Permissions};
|
|||
|
||||
const BUF_SIZE: u32 = 256;
|
||||
|
||||
pub fn get_file_data(path: &PathBuf) -> Result<(Owner, Permissions), io::Error> {
|
||||
pub fn get_file_data(path: &Path) -> Result<(Owner, Permissions), io::Error> {
|
||||
// Overall design:
|
||||
// This function allocates some data with GetNamedSecurityInfoW,
|
||||
// manipulates it only through WinAPI calls (treating the pointers as
|
||||
|
|
Loading…
Reference in a new issue