We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b4a81a + 8524a7c commit e2014e8Copy full SHA for e2014e8
library/std/src/sys/fs/windows.rs
@@ -547,7 +547,7 @@ impl File {
547
))?;
548
attr.file_size = info.AllocationSize as u64;
549
attr.number_of_links = Some(info.NumberOfLinks);
550
- if attr.file_type().is_reparse_point() {
+ if attr.attributes & c::FILE_ATTRIBUTE_REPARSE_POINT != 0 {
551
let mut attr_tag: c::FILE_ATTRIBUTE_TAG_INFO = mem::zeroed();
552
cvt(c::GetFileInformationByHandleEx(
553
self.handle.as_raw_handle(),
0 commit comments