about summary refs log tree commit diff
path: root/src/lib/fs.rs
AgeCommit message (Collapse)AuthorLines
2011-05-05Because good hackers at least check to see if the code compiles.Graydon Hoare-2/+2
2011-05-05Fix assumption that only os_fs.path_sep can separate paths, sigh.Graydon Hoare-1/+7
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-1/+1
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-1/+1
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-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.
2011-04-19Remove effect system from src.Graydon Hoare-2/+2
2011-03-25Start making the standard-lib utf-8 awareMarijn Haverbeke-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.
2011-03-16Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare-1/+11
Tweak std lib vec fns in process.
2011-03-15Add a fs.connect() function to join pathsPatrick Walton-0/+8
2011-03-14Add basic file-system functionalityMarijn Haverbeke-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.