Skip to content

Commit 6b476bc

Browse files
committed
windows stats
1 parent 01c6bdc commit 6b476bc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

crates/vm/src/stdlib/stat.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,17 @@ mod stat {
237237
FILE_ATTRIBUTE_TEMPORARY, FILE_ATTRIBUTE_VIRTUAL,
238238
};
239239

240+
// Windows reparse point tags
241+
#[cfg(windows)]
242+
#[pyattr]
243+
pub const IO_REPARSE_TAG_SYMLINK: u32 = 0xA000000C;
244+
#[cfg(windows)]
245+
#[pyattr]
246+
pub const IO_REPARSE_TAG_MOUNT_POINT: u32 = 0xA0000003;
247+
#[cfg(windows)]
248+
#[pyattr]
249+
pub const IO_REPARSE_TAG_APPEXECLINK: u32 = 0x8000001B;
250+
240251
// Unix file flags (if on Unix)
241252

242253
#[pyattr]

0 commit comments

Comments
 (0)