We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d49ae9 commit 8524a7cCopy full SHA for 8524a7c
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