]> git.lizzy.rs Git - rust.git/commit
std: Add a new `fs` module
authorAlex Crichton <alex@alexcrichton.com>
Tue, 3 Feb 2015 05:39:14 +0000 (21:39 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 10 Feb 2015 02:43:12 +0000 (18:43 -0800)
commit6bfbad937bdf578e35777d079f8dcfab49758041
tree7747a164d42ab277add29b2cee1fb98d8dc6db68
parent0b56e9b1cb2fc00d7d9bc044e2a78b8fb12f2f1b
std: Add a new `fs` module

This commit is an implementation of [RFC 739][rfc] which adds a new `std::fs`
module to the standard library. This module provides much of the same
functionality as `std::old_io::fs` but it has many tweaked APIs as well as uses
the new `std::path` module.

[rfc]: https://github.com/rust-lang/rfcs/pull/739
15 files changed:
src/libstd/fs.rs [new file with mode: 0644]
src/libstd/io/prelude.rs
src/libstd/lib.rs
src/libstd/path.rs
src/libstd/sys/common/mod.rs
src/libstd/sys/unix/c.rs
src/libstd/sys/unix/ext.rs
src/libstd/sys/unix/fd.rs [new file with mode: 0644]
src/libstd/sys/unix/fs2.rs [new file with mode: 0644]
src/libstd/sys/unix/mod.rs
src/libstd/sys/windows/ext.rs
src/libstd/sys/windows/fs2.rs [new file with mode: 0644]
src/libstd/sys/windows/handle.rs
src/libstd/sys/windows/mod.rs
src/libstd/sys/windows/os.rs