about summary refs log tree commit diff
path: root/src/libstd/fs.rs
AgeCommit message (Collapse)AuthorLines
2012-02-29std: DeCamelCase fs::splitDirnameBasenameBrian Anderson-3/+3
2012-02-23Finish cleanup of core::strMarijn Haverbeke-12/+8
Closes #1849
2012-02-23Various cleanups and optimizations in core::strMarijn Haverbeke-13/+5
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-6/+6
2012-02-23(core::str) do some replacementsKevin Cantu-4/+4
2012-02-23(core::char) rename slice -> slice_charsKevin Cantu-2/+2
2012-02-23(core::str) rename rindex -> rindex_charsKevin Cantu-2/+2
2012-02-23(core::str) mostly rename len -> len_charsKevin Cantu-1/+1
2012-02-22Remove preconditions from librariesMarijn Haverbeke-2/+1
Closes #1805
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-6/+6
2012-02-12(core::str) move push_byte, push_bytes, pop_byte, and shift_byte into ↵Kevin Cantu-3/+3
str::unsafe
2012-02-11using str::rindex...Kevin Cantu-17/+20
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-4/+4
2012-02-09Increase precedence of as operatorMarijn Haverbeke-2/+2
Closes #1717
2012-02-07core: make str::substr use char positions (and replace other uses)Kevin Cantu-2/+2
2012-02-07String split renaming:Kevin Cantu-4/+9
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-05std: Use ctypes::c_int in path_is_dirBrian Anderson-4/+1
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-1/+1
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 2Kevin Cantu-2/+2
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-1/+1
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-19libstd: Revert an integer type castingHaitao Li-1/+4
Otherwise, rustctest failed by a segv fault.
2012-01-19rustc: Use integer from ctypes consistentlyHaitao Li-2/+6
2012-01-19Use ctypes in native function declarationsHaitao Li-4/+4
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+285
2012-01-09Fix rpath bug.Graydon Hoare-9/+12
2012-01-06std: UntabifyBrian Anderson-10/+10
2012-01-06std: Add fs::homedirBrian Anderson-0/+48
Returns the home directory of the user as appropriate for the platform. Issue #1359
2012-01-01freebsd supportUser Jyyou-0/+4
2011-12-19preparing for removing math from stdStefan Plantikow-0/+1
2011-12-16std: file_is_dir -> path_is_dir, add path_existsElly Jones-4/+14
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-2/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+2
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+391