bors c135cb2683 auto merge of #9235 : olsonjeffery/rust/newrt_file_io_1, r=thestinger
A quick rundown:

- added `file::{readdir, stat, mkdir, rmdir}`
- Added access-constrained versions of `FileStream`; `FileReader` and `FileWriter` respectively
- big rework in `uv::file` .. most actions are by-val-self methods on `FsRequest`; `FileDescriptor` has gone the way of the dinosaurs
- playing nice w/ homing IO (I just copied ecr's work, hehe), etc
- added `FileInfo` trait, with an impl for `Path`
  - wrapper for file-specific actions, with the file path always implied by self's value
  - has the means to create `FileReader` & `FileWriter` (this isn't exposed in the top-level free function API)
  - has "safe" wrappers for `stat()` that won't throw in the event of non-existence/error (in this case, I mean `is_file` and `exists`)
  - actions should fail if done on non-regular-files, as appropriate
- added `DirectoryInfo` trait, with an impl for `Path`
  - pretty much ditto above, but for directories
  - added `readdir` (!!) to iterate over entries in a dir as a `~[Path]` (this was *brutal* to get working)

...<del>and lots of other stuff</del>not really. Do your worst!
2013-09-17 14:05:45 -07:00
..
2013-09-16 22:19:23 -04:00
2013-09-17 11:54:37 -04:00
2013-09-16 22:19:23 -04:00
2013-09-15 00:41:34 -04:00
2013-09-16 22:19:23 -04:00
2013-09-16 22:19:23 -04:00
2013-09-16 16:57:50 +02:00
2013-09-16 22:19:23 -04:00
2013-09-16 22:19:23 -04:00
2013-09-16 16:57:50 +02:00
2013-09-15 00:41:34 -04:00
2013-09-16 22:19:23 -04:00
2013-09-16 17:45:24 +02:00
2013-09-16 16:57:50 +02:00
2013-09-16 16:57:50 +02:00
2013-09-15 00:41:34 -04:00
2013-09-16 22:19:23 -04:00