about summary refs log tree commit diff
path: root/library/std/src/sys/windows/fs.rs
AgeCommit message (Expand)AuthorLines
2023-03-17Modify code style as per commentsNagaChaitanya Vellanki-7/+5
2023-03-16run rustfmt on changesNagaChaitanya Vellanki-1/+1
2023-03-16fallback to lstat when stat fails on WindowsNagaChaitanya Vellanki-1/+13
2023-02-13Add another error to Windows file open fallbackalesito85-1/+6
2023-02-10Zero the `REPARSE_MOUNTPOINT_DATA_BUFFER` headerChris Denton-0/+2
2022-11-18Handle the case that even the filename array is unaligned.Thom Chiovoloni-5/+14
2022-11-17Don't assume `FILE_ID_BOTH_DIR_INFO` will be alignedThom Chiovoloni-5/+9
2022-10-01`SetFileTime` doesn't allow setting the file time to `0xFFFF_FFFF_FFFF_FFFF`beetrees-0/+8
2022-09-06Fix compile errors for uwp-windows-msvc targetsChris Denton-1/+1
2022-09-01Use `FILE_ATTRIBUTE_TAG_INFO` to get reparse tagChris Denton-8/+18
2022-08-31Avoid needless buffer zeroing in `std::sys::windows::fs`Thom Chiovoloni-14/+24
2022-08-30Fix UB in Windows `DirBuffIter` (provenance and alignment)Thom Chiovoloni-7/+10
2022-08-30Replace `AlignedAs` with a more specific `Align8` typeThom Chiovoloni-13/+14
2022-08-30Fix UWP and use `AlignedReparseBuf` in `symlink_junction_inner`Thom Chiovoloni-5/+6
2022-08-29Fix some possible UB in std::sys::windowsThom Chiovoloni-16/+24
2022-08-28Rollup merge of #97015 - nrc:read-buf-cursor, r=Mark-SimulacrumMatthias Krüger-3/+3
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-3/+3
2022-08-18Address reviewer commentsNick Cameron-1/+1
2022-08-05non-linux platformsNick Cameron-3/+3
2022-08-01Auto merge of #98246 - joshtriplett:times, r=m-ou-sebors-0/+31
2022-07-30Reset directory iteration in remove_dir_allChris Denton-1/+3
2022-07-15Return an error if trying to set a file timestamp to 0 on WindowsJosh Triplett-5/+12
2022-07-15Support setting file accessed/modified timestampsJosh Triplett-0/+24
2022-07-05Windows: Use `FindFirstFileW` if `metadata` failsChris Denton-10/+61
2022-07-05`impl From<c::WIN32_FIND_DATAW> for FileAttr`Chris Denton-16/+21
2022-06-25Rollup merge of #96412 - ChrisDenton:remove-dir-all, r=thomccMatthias Krüger-75/+81
2022-05-09Use Rust 2021 prelude in std itself.Mara Bos-1/+0
2022-04-28Yield the thread when waiting to delete a fileChris Denton-0/+3
2022-04-26Retry deleting a directoryChris Denton-2/+15
2022-04-26Windows: Iterative `remove_dir_all`Chris Denton-77/+67
2022-03-29Make the stdlib largely conform to strict provenance.Aria Beingessner-4/+7
2022-03-03Use `HandleOrNull` and `HandleOrInvalid` in the Windows FFI bindings.Dan Gohman-3/+4
2022-02-08Rollup merge of #93206 - ChrisDenton:ntopenfile, r=nagisaMatthias Krüger-3/+8
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-4/+4
2022-01-25Rollup merge of #88794 - sunfishcode:sunfishcode/try-clone, r=joshtriplettMatthias Krüger-1/+1
2022-01-24Use `NtCreateFile` instead of `NtOpenFile` to open a fileChris Denton-3/+8
2022-01-19Fix CVE-2022-21658 for WindowsChris Denton-17/+305
2021-11-02more efficent File::read_buf impl for windows and unixDrMeepster-1/+5
2021-10-30Auto merge of #89174 - ChrisDenton:automatic-verbatim-paths, r=dtolnaybors-13/+14
2021-10-09Apply clippy suggestionsClemens Wasser-2/+2
2021-10-03Automatically convert paths to verbatimChris Denton-13/+14
2021-09-09Fix Windows compilation errors.Dan Gohman-1/+1
2021-09-09Add a `try_clone()` function to `OwnedFd`.Dan Gohman-1/+1
2021-09-02I/O safety for WinUWPbdbai-2/+2
2021-08-19I/O safety.Dan Gohman-22/+51
2021-06-15Rename ErrorKind::Unknown to Uncategorized.Mara Bos-1/+1
2021-06-15Redefine `ErrorKind::Other` and stop using it in std.Mara Bos-4/+3
2021-05-19Windows implementation of `fs::try_exists`Chris Denton-1/+29
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ca...Chris Denton-0/+1
2021-04-18Rename `NotSupported` to `Unsupported`Christiaan Dirkx-1/+4