about summary refs log tree commit diff
path: root/library/std/src/sys/windows/fs.rs
AgeCommit message (Collapse)AuthorLines
2021-10-09Apply clippy suggestionsClemens Wasser-2/+2
2021-09-02I/O safety for WinUWPbdbai-2/+2
2021-08-19I/O safety.Dan Gohman-22/+51
Introduce `OwnedFd` and `BorrowedFd`, and the `AsFd` trait, and implementations of `AsFd`, `From<OwnedFd>` and `From<T> for OwnedFd` for relevant types, along with Windows counterparts for handles and sockets. Tracking issue: - <https://github.com/rust-lang/rust/issues/87074> RFC: - <https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md>
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 ↵Chris Denton-0/+1
can specialize it Windows implementation of `fs::try_exists`
2021-04-18Rename `NotSupported` to `Unsupported`Christiaan Dirkx-1/+4
2021-04-18Add and insta-stabilize `std::io::ErrorKind::NotSupported`Christiaan Dirkx-1/+1
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-3/+3
2020-11-14Disambiguate symlink argument namesDavid Tolnay-17/+22
2020-07-27mv std libs to library/mark-0/+938