about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-02-02 21:39:14 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-02-09 18:43:12 -0800
commit6bfbad937bdf578e35777d079f8dcfab49758041 (patch)
tree7747a164d42ab277add29b2cee1fb98d8dc6db68 /src/libstd/io
parent0b56e9b1cb2fc00d7d9bc044e2a78b8fb12f2f1b (diff)
downloadrust-6bfbad937bdf578e35777d079f8dcfab49758041.tar.gz
rust-6bfbad937bdf578e35777d079f8dcfab49758041.zip
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
Diffstat (limited to 'src/libstd/io')
-rw-r--r--src/libstd/io/prelude.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/io/prelude.rs b/src/libstd/io/prelude.rs
index 475ada2ff84..637b1950985 100644
--- a/src/libstd/io/prelude.rs
+++ b/src/libstd/io/prelude.rs
@@ -22,6 +22,7 @@
 //! contained in this module.
 
 pub use super::{Read, ReadExt, Write, WriteExt, BufRead, BufReadExt};
+pub use fs::PathExt;
 
 // FIXME: pub use as `Seek` when the name isn't in the actual prelude any more
 pub use super::Seek as NewSeek;