File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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")] {
714714 pub struct FILE_STANDARD_INFO {
715715 pub AllocationSize : LARGE_INTEGER ,
716716 pub EndOfFile : LARGE_INTEGER ,
717- pub NumberOfLink : DWORD ,
717+ pub NumberOfLinks : DWORD ,
718718 pub DeletePending : BOOLEAN ,
719719 pub Directory : BOOLEAN ,
720720 }
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ impl File {
357357 size as c:: DWORD ) ) ?;
358358 attr. file_size = info. AllocationSize as u64 ;
359359 attr. number_of_links = Some ( info. NumberOfLinks ) ;
360- if attr. is_reparse_point ( ) {
360+ if attr. file_type ( ) . is_reparse_point ( ) {
361361 let mut b = [ 0 ; c:: MAXIMUM_REPARSE_DATA_BUFFER_SIZE ] ;
362362 if let Ok ( ( _, buf) ) = self . reparse_point ( & mut b) {
363363 attr. reparse_tag = buf. ReparseTag ;
You can’t perform that action at this time.
0 commit comments