about summary refs log tree commit diff
path: root/library/std/src/sys_common/fs.rs
AgeCommit message (Collapse)AuthorLines
2025-03-08Move fs into sysThalia Archibald-60/+0
2024-11-26std: update internal uses of `io::const_error!`joboet-1/+1
2024-08-22fix: fs::remove_dir_all: treat ENOENT as successbinarycat-6/+15
fixes #127576 windows implementation still needs some work
2024-06-11Rename `std::fs::try_exists` to `std::fs::exists` and stabilize fs_try_existsEduardo Sánchez Muñoz-1/+1
2022-02-04Hide Repr details from io::Error, and rework `io::Error::new_const`.Thom Chiovoloni-2/+2
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ↵Chris Denton-0/+8
can specialize it Windows implementation of `fs::try_exists`
2021-03-27Improve fs error open_from unixIvan Tham-4/+6
Consistency for #79399 Suggested by JohnTitor Improve fs error invaild input for sys_common The text was duplicated from unix.
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-2/+2
2021-01-06Optimize away some path lookups in the generic `fs::copy` implementation.Dan Gohman-4/+6
This also eliminates a use of a `Path` convenience function, in support of #80741, refactoring `std::path` to focus on pure data structures and algorithms.
2020-07-27mv std libs to library/mark-0/+39