about summary refs log tree commit diff
path: root/library/std/src/fs.rs
AgeCommit message (Expand)AuthorLines
2025-05-31library: explain TOCTOU races in `fs::remove_dir_all`Jubilee Young-8/+19
2025-05-27Rollup merge of #141312 - cberner:filelock_from, r=joshtriplettMatthias Krüger-0/+16
2025-05-25improve the `std::fs::create_dir_all` docs related to atomicityFluid-2/+2
2025-05-20Add From<TryLockError> for io::ErrorChristopher Berner-0/+16
2025-05-18replace `try_reserve_exact` with `try_with_capacity` in `std::fs::read`Fluid-2/+1
2025-05-03Rollup merge of #140595 - lolbinarycat:std-set_permissions-typo, r=cuviperMatthias Krüger-1/+1
2025-05-03Rollup merge of #139343 - cberner:filelock_wouldblock, r=workingjubileeMatthias Krüger-11/+60
2025-05-02doc(std): fix typo lchown -> lchmodbinarycat-1/+1
2025-05-01Implement error::Error for TryLockErrorChristopher Berner-1/+4
2025-05-01Change signature of File::try_lock and File::try_lock_sharedChristopher Berner-10/+56
2025-05-01Rollup merge of #140062 - xizheyin:issue-139958, r=workingjubileeGuillaume Gomez-0/+2
2025-04-20std: mention `remove_dir_all` can emit `DirectoryNotEmpty` when concurrently ...xizheyin-0/+2
2025-04-08clarify std::fs::set_permissions symlink behaviorbinarycat-6/+8
2025-04-08std(docs): clarify how std::fs::set_permisions works with symlinksbinarycat-0/+13
2025-03-29Rollup merge of #138832 - ChrisDenton:with_native_path, r=joboetMatthias Krüger-8/+8
2025-03-29Start using with_native_path in std::sys::fsChris Denton-8/+8
2025-03-22Rollup merge of #138822 - moxian:unlock, r=joshtriplettMatthias Krüger-5/+10
2025-03-21Revert "Stabilize file_lock"moxian-5/+10
2025-03-14Forward `stream_position` in `Arc<File>` as wellTobias Bucher-0/+3
2025-03-10Disable unsupported testsNicole LeGare-1/+2
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