about summary refs log tree commit diff
path: root/library/std/src/sys/unix/fs.rs
AgeCommit message (Expand)AuthorLines
2021-09-14Add chown functions to std::os::unix::fs to change the owner and group of filesJosh Triplett-0/+17
2021-08-31Use the return value of readdir_r() instead of errnoTavian Barnes-2/+3
2021-08-19I/O safety.Dan Gohman-21/+56
2021-08-10STD support for the ESP-IDF frameworkivmarkov-8/+22
2021-07-29fs File get_path procfs usage for netbsd same as linux.David Carlier-2/+7
2021-07-10Change `weak!` and `linkat!` to macros 2.0Aris Merchant-0/+9
2021-07-09Fix linker errorAris Merchant-11/+30
2021-07-06Rollup merge of #83581 - arennow:dir_entry_ext_unix_borrow_name, r=m-ou-seYuki Okushi-0/+4
2021-06-15Rename ErrorKind::Unknown to Uncategorized.Mara Bos-1/+1
2021-06-15Redefine `ErrorKind::Other` and stop using it in std.Mara Bos-1/+1
2021-05-23Auto merge of #85490 - CDirkx:fix-vxworks, r=dtolnaybors-1/+1
2021-05-21Add std::os::unix::fs::DirEntryExt2::file_name_ref(&self) -> &OsStrAaron Rennow-0/+4
2021-05-20Not implement `os::unix::fs::chroot` for `vxworks`Christiaan Dirkx-1/+1
2021-05-19Move the implementation of `Path::exists` to `sys_common::fs` so platforms ca...Chris Denton-1/+1
2021-05-02Change 'NULL' to 'null'Brent Kerby-2/+2
2021-04-30Add std::os::unix::fs::chroot to change the root directory of the current pro...Josh Triplett-0/+7
2021-04-18Rename `NotSupported` to `Unsupported`Christiaan Dirkx-1/+1
2021-04-18Use `NotSupported` in more placesChristiaan Dirkx-1/+1
2021-03-27Improve fs error open_from unixIvan Tham-5/+3
2021-03-21Use io::Error::new_const everywhere to avoid allocations.Mara Bos-6/+6
2020-12-03fix copy specialization not updating Take wrappersThe8472-1/+2
2020-11-14Disambiguate symlink argument namesDavid Tolnay-9/+9
2020-11-14Auto merge of #75272 - the8472:spec-copy, r=KodrAusbors-77/+8
2020-11-13Always handle EOVERFLOW by falling back to the generic copy loopThe8472-6/+4
2020-11-13move sendfile/splice/copy_file_range into kernel_copy moduleThe8472-149/+2
2020-11-13limit visibility of copy offload helpers to sys::unix moduleThe8472-4/+4
2020-11-13move copy specialization into sys::unix moduleThe8472-15/+3
2020-11-13reduce syscalls by inferring FD types based on source struct instead of calli...The8472-27/+56
2020-11-13hide unused exports on other platformsThe8472-2/+2
2020-11-13specialize io::copy to use copy_file_range, splice or sendfileThe8472-6/+69
2020-11-09Rollup merge of #78026 - sunfishcode:symlink-hard-link, r=dtolnayDylan DPC-1/+14
2020-10-24Disable use of `linkat` on Android as well.Dan Gohman-5/+5
2020-10-18Use `link` on platforms which lack `linkat`.Dan Gohman-4/+14
2020-10-18Fix a typo in a comment.Dan Gohman-1/+1
2020-10-17Rollup merge of #77900 - Thomasdezeeuw:fdatasync, r=dtolnayYuki Okushi-2/+16
2020-10-16Define `fs::hard_link` to not follow symlinks.Dan Gohman-1/+4
2020-10-16Take sys/vxworks/{fd,fs,io} from sys/unix instead.Mara Bos-7/+49
2020-10-13Use fdatasync for File::sync_data on more OSesThomas de Zeeuw-2/+16
2020-10-09simplify the cfg in ReadDir constructionJosh Stone-8/+6
2020-10-09remove ReadDir.end_of_stream on targets that don't use itJosh Stone-1/+18
2020-10-09unix/vxworks: make DirEntry slightly smallerJosh Stone-6/+5
2020-09-22Revert "Function to convert OpenOptions to c_int"Joshua Nelson-6/+0
2020-09-22Auto merge of #76110 - FedericoPonzi:convert-openoptions-cint, r=JoshTriplettbors-0/+6
2020-09-02Update docs of OpenOptions::as_flagsFederico Ponzi-0/+1
2020-08-31Update OpenOptions::as_flags docs, and minor stylingFederico Ponzi-0/+1
2020-08-31Merge branch 'convert-openoptions-cint' of github.com:FedericoPonzi/rust into...Federico Ponzi-1/+0
2020-08-31Add as_flag function to the OpenOptionsExt structFederico Ponzi-7/+5
2020-08-30Fix typo get openoptions function nameFederico Ponzi-1/+1
2020-08-30initial implementation of OpenOptions to c_intFederico Ponzi-0/+7
2020-08-14perform copy_file_range until EOF is reached instead of basing things on file...The8472-3/+12