win32_xstat in cpython
(path: &OsStr, traverse: bool)
| 86 | |
| 87 | // win32_xstat in cpython |
| 88 | pub fn win32_xstat(path: &OsStr, traverse: bool) -> std::io::Result<StatStruct> { |
| 89 | let mut result = win32_xstat_impl(path, traverse)?; |
| 90 | // ctime is only deprecated from 3.12, so we copy birthtime across |
| 91 | result.st_ctime = result.st_birthtime; |
| 92 | result.st_ctime_nsec = result.st_birthtime_nsec; |
| 93 | Ok(result) |
| 94 | } |
| 95 | |
| 96 | fn is_reparse_tag_name_surrogate(tag: u32) -> bool { |
| 97 | (tag & 0x20000000) > 0 |
no test coverage detected