aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs.rs
Commit message (Collapse)AuthorAgeFilesLines
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-0/+56
| | | | This should be a snapshot transition.
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-061-56/+0
| | | | (Have fun mergining your stuff with this.)
* Attempt to fix fs.dirname harder.Graydon Hoare2011-05-051-7/+2
|
* Because good hackers at least check to see if the code compiles.Graydon Hoare2011-05-051-2/+2
|
* Fix assumption that only os_fs.path_sep can separate paths, sigh.Graydon Hoare2011-05-051-1/+7
|
* Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton2011-05-021-1/+1
| | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
* Revert "Use different syntax for checks that matter to typestate"Graydon Hoare2011-05-021-1/+1
| | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-021-1/+1
| | | | | | | | | | This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
* Remove effect system from src.Graydon Hoare2011-04-191-2/+2
|
* Start making the standard-lib utf-8 awareMarijn Haverbeke2011-03-251-1/+1
| | | | | | Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
* Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare2011-03-161-1/+11
| | | | Tweak std lib vec fns in process.
* Add a fs.connect() function to join pathsPatrick Walton2011-03-151-0/+8
|
* Add basic file-system functionalityMarijn Haverbeke2011-03-141-0/+37
std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.