about summary refs log tree commit diff
path: root/src/libstd/path/mod.rs
AgeCommit message (Collapse)AuthorLines
2013-10-15path2: Remove .with_display_str and friendsKevin Ballard-56/+63
Rewrite these methods as methods on Display and FilenameDisplay. This turns do path.with_display_str |s| { ... } into do path.display().with_str |s| { ... }
2013-10-15path2: Adjust the API to remove all the _str mutation methodsKevin Ballard-247/+222
Add a new trait BytesContainer that is implemented for both byte vectors and strings. Convert Path::from_vec and ::from_str to one function, Path::new(). Remove all the _str-suffixed mutation methods (push, join, with_*, set_*) and modify the non-suffixed versions to use BytesContainer.
2013-10-15path2: Remove Path::normalize()Kevin Ballard-0/+4
There are no clients of this API, so just remove it. Update the module docstring to mention normalization.
2013-10-15path2: Write a few paragraphs of module documentationKevin Ballard-1/+54
2013-10-15path2: Update asserts for new format!() styleKevin Ballard-1/+1
2013-10-15path2: Replace the path module outrightKevin Ballard-0/+1094
Remove the old path. Rename path2 to path. Update all clients for the new path. Also make some miscellaneous changes to the Path APIs to help the adoption process.