File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -714,7 +714,7 @@ if #[cfg(target_vendor = "uwp")] {
714
714
pub struct FILE_STANDARD_INFO {
715
715
pub AllocationSize : LARGE_INTEGER ,
716
716
pub EndOfFile : LARGE_INTEGER ,
717
- pub NumberOfLink : DWORD ,
717
+ pub NumberOfLinks : DWORD ,
718
718
pub DeletePending : BOOLEAN ,
719
719
pub Directory : BOOLEAN ,
720
720
}
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ impl File {
357
357
size as c:: DWORD ) ) ?;
358
358
attr. file_size = info. AllocationSize as u64 ;
359
359
attr. number_of_links = Some ( info. NumberOfLinks ) ;
360
- if attr. is_reparse_point ( ) {
360
+ if attr. file_type ( ) . is_reparse_point ( ) {
361
361
let mut b = [ 0 ; c:: MAXIMUM_REPARSE_DATA_BUFFER_SIZE ] ;
362
362
if let Ok ( ( _, buf) ) = self . reparse_point ( & mut b) {
363
363
attr. reparse_tag = buf. ReparseTag ;
You can’t perform that action at this time.
0 commit comments