about summary refs log tree commit diff
path: root/library/std/src/fs.rs
AgeCommit message (Expand)AuthorLines
2025-03-07Return OutOfMemoryError and update docsChris Denton-1/+1
2025-03-05Rollup merge of #137240 - jieyouxu:remove_dir_all, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-3/+5
2025-02-19Rollup merge of #136794 - cberner:stabilize, r=joshtriplettMatthias Krüger-10/+5
2025-02-19Rollup merge of #136347 - allevo:patch-1, r=AmanieuMatthias Krüger-0/+1
2025-02-19Update library/std/src/fs.rsTommaso Allevi-1/+1
2025-02-19std::fs: slightly reformat `remove_dir_all` error docs许杰友 Jieyou Xu (Joe)-3/+5
2025-02-18Rollup merge of #136876 - joshtriplett:locking-might-not-be-advisory, r=AmanieuMatthias Krüger-38/+58
2025-02-18Reorder "This lock may be advisory or mandatory." earlier in the lock docsJosh Triplett-18/+18
2025-02-18Clarify that locking on Windows also works for files opened with `.read(true)`Josh Triplett-5/+5
2025-02-17Use tell for <File as Seek>::stream_positionThalia Archibald-0/+6
2025-02-11Document that locking a file fails on Windows if the file is opened only for ...Josh Triplett-0/+15
2025-02-11Reword file lock documentation to clarify advisory vs mandatoryJosh Triplett-35/+40
2025-02-11Rollup merge of #136704 - benschulz:patch-1, r=ibraheemdevJacob Pratt-2/+2
2025-02-09Stabilize file_lockChristopher Berner-10/+5
2025-02-09Rollup merge of #134679 - ChrisDenton:rm-readonly, r=Mark-SimulacrumUrgau-2/+2
2025-02-07Improve examples for file lockingBen Schulz-2/+2
2025-01-31Update fs.rsTommaso Allevi-0/+1
2025-01-30Improve documentation for file lockingJosh Triplett-17/+40
2025-01-26Update platform information for remove_fileChris Denton-2/+2
2025-01-24Add `File already exists` error doc to `hard_link` functionHarshit Verma-0/+1
2024-12-22docs: Permissions.readonly() also ignores root user special permissionsMarti Raudsepp-6/+11
2024-12-21Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDe...Matthias Krüger-3/+5
2024-11-26std: update internal uses of `io::const_error!`joboet-1/+1
2024-11-21Mention that std::fs::remove_dir_all fails on filesPanagiotis "Ivory" Vasilopoulos-1/+2
2024-11-18Mention std::fs::remove_dir_all in std::fs::remove_dirPanagiotis "Ivory" Vasilopoulos-0/+4
2024-11-11Rollup merge of #130999 - cberner:flock_pr, r=joboetMatthias Krüger-0/+217
2024-10-28clarified std::fs truncate docyakiimoninja-1/+1
2024-10-28clarified doc for `std::fs::OpenOptions.truncate()`yakiimoninja-1/+1
2024-10-20fix docsklensy-1/+1
2024-10-13Implement file_lock featureChristopher Berner-0/+217
2024-10-09Mention allocation errors for `open_buffered`Josh Stone-1/+2
2024-09-30Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if availableGeorge Tokmaji-3/+5
2024-09-29Fix std tests for wasm32-wasip2 targetNicola Krumschmidt-1/+9
2024-09-24Add a tracking issue for `file_buffered`Josh Stone-2/+2
2024-09-24Pre-allocate buffers in `File::open_buffered` and `create_buffered`Josh Stone-2/+8
2024-09-24Add `File::open_buffered` and `create_buffered`Josh Stone-0/+71
2024-09-21Rollup merge of #129718 - lolbinarycat:remove_dir-docs, r=NoratriebMatthias Krüger-0/+10
2024-09-20Remove double spacesnora-2/+2
2024-09-20Rollup merge of #128209 - beetrees:no-macos-10.10, r=jieyouxuGuillaume Gomez-7/+6
2024-09-19[Clippy] Swap `open_options` to use diagnostic items instead of pathsGnomedDev-0/+2
2024-09-18Clarify docs for std::fs::File::writeAlexey Shekhirin-1/+1
2024-09-04Remove macOS 10.10 dynamic linker bug workaroundbeetrees-7/+6
2024-08-28add guarantee about remove_dir and remove_file error kindsbinarycat-0/+10
2024-08-22fix: fs::remove_dir_all: treat ENOENT as successbinarycat-0/+2
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-1/+1
2024-07-28Update CURRENT_RUSTC_VERSIONMark Rousskov-1/+1
2024-07-26Fix doc nitsJohn Arundel-10/+10
2024-07-24Improved clarity of documentation for std::fs::create_dir_allrik86189-7/+2
2024-06-22Rollup merge of #126140 - eduardosm:stabilize-fs_try_exists, r=AmanieuMatthias Krüger-8/+5
2024-06-16Rollup merge of #125112 - tbu-:pr_create_dir_all_empty, r=dtolnayJacob Pratt-0/+3