about summary refs log tree commit diff
path: root/library/std/src/path.rs
AgeCommit message (Expand)AuthorLines
2025-01-13path: Move is_absolute check to sys::pathAyush Singh-11/+4
2024-12-13Fix `Path::is_absolute` on HermitMartin Kröning-1/+3
2024-12-01Rollup merge of #133602 - SanchithHegde:fix-pathbuf-example-codeblocks, r=cuv...Matthias Krüger-0/+2
2024-11-29fix: fix codeblocks in `PathBuf` exampleSanchith Hegde-0/+2
2024-11-27replace placeholder versionBoxy-3/+3
2024-11-27Rollup merge of #133449 - joboet:io_const_error, r=tgross35Matthias Krüger-1/+1
2024-11-26std: update internal uses of `io::const_error!`joboet-1/+1
2024-11-24Added a doc test for std::path::strip_prefixCrom (Thibaut CHARLES)-0/+1
2024-11-12Make `CloneToUninit` dyn-compatibleZachary S-4/+4
2024-10-29Implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`Eduardo Sánchez Muñoz-0/+28
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-2/+2
2024-09-25Use `&raw` in the standard libraryJosh Stone-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-19[Clippy] Swap `manual_main_separator_str` to use diagnostic item instead of pathGnomedDev-0/+1
2024-09-19[Clippy] Swap `redundant_clone` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-19[Clippy] Swap `option_as_ref_deref` to use diagnostic items instead of pathsGnomedDev-0/+1
2024-09-11Fixup docs for PathBufJubilee Young-2/+2
2024-09-11Expand PathBuf documentationChris Jefferson-0/+24
2024-09-05fix: correct {Path,OsStr}::to_string_lossy() docsRyosuke Takahashi-1/+1
2024-07-29Sparkle some attributes over `CloneToUninit` stuffPavel Grigorenko-0/+1
2024-07-29impl CloneToUninit for Path and OsStrPavel Grigorenko-0/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+2
2024-07-26Fix doc nitsJohn Arundel-1/+1
2024-07-22Fix some `#[cfg_attr(not(doc), repr(..))]`Pavel Grigorenko-4/+2
2024-07-07Rollup merge of #127297 - the8472:path-new-hash, r=NilstriebMatthias Krüger-4/+9
2024-07-05update commentstison-4/+1
2024-07-03impl PathBuf::add_extension and Path::with_added_extensiontison-0/+97
2024-07-04stir the hash state a little to avoid prefix collisionsThe 8472-4/+9
2024-06-25`PathBuf::as_mut_vec` removed and verified for UEFI and Windows platforms #12...ash-8/+3
2024-06-25remove references to `PathBuf::as_mut_vec` in `PathBuf::_set_extension`ash-6/+5
2024-06-25inner truncate methods for UEFI platformsash-3/+3
2024-06-25#126333 remove `PathBuf::as_mut_vec` reference at top of `PathBuf::_push`ash-1/+2
2024-06-22Rollup merge of #126140 - eduardosm:stabilize-fs_try_exists, r=AmanieuMatthias Krüger-1/+3
2024-06-14Polish `std::path::absolute` documentation.Kevin Reid-27/+38
2024-06-11Rename `std::fs::try_exists` to `std::fs::exists` and stabilize fs_try_existsEduardo Sánchez Muñoz-1/+3
2024-06-04impl OsString::leak & PathBuf::leakschvv31n-0/+19
2024-05-26Auto merge of #125070 - tbu-:pr_set_extension_panic, r=jhprattbors-0/+13
2024-05-21Small fixes to `std::path::absolute` docsTobias Bucher-3/+6
2024-05-13Panic if `PathBuf::set_extension` would add a path separatorTobias Bucher-0/+13
2024-05-01Replace version placeholders for 1.79Mark Rousskov-1/+1
2024-04-26PathBuf: replace transmuting by accessor functionsRalf Jung-7/+1
2024-04-24Stabilize `std::path::absolute`Chris Denton-3/+1
2024-04-17Rollup merge of #122201 - coolreader18:doc-clone_from, r=dtolnayMatthias Krüger-0/+4
2024-04-10Rework Path::ancestors documentation to remove unwrapsKriskras99-4/+3
2024-04-10Bring documentation of Path::to_path_buf in line with the rest of Path/PathBufKriskras99-2/+2
2024-03-08Document overrides of `clone_from()`Noa-0/+4
2024-02-28Rollup merge of #120051 - riverbl:os-str-display, r=m-ou-seGuillaume Gomez-5/+5
2024-02-22Add `rustc_confusables` annotations to some stdlib APIsEsteban Küber-0/+1
2024-01-18Add `display` method to `OsStr`riverbl-5/+5
2023-09-01fix(std): Rename os_str_bytes to encoded_bytesEd Page-17/+17