]> git.lizzy.rs Git - rust.git/commit
Move io::file to io::fs and fns out of File
authorAlex Crichton <alex@alexcrichton.com>
Thu, 31 Oct 2013 22:15:30 +0000 (15:15 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 4 Nov 2013 18:28:55 +0000 (10:28 -0800)
commit3c3ed1499a9b9e23d4a2d2243a7b0b1c9015f34b
treeb349c0b7f6cd8ae46dd05ecc430ecca15ae037c4
parentf19d0833625c382c5d0a8868924cd4620335e659
Move io::file to io::fs and fns out of File

This renames the `file` module to `fs` because that more accurately describes
its current purpose (manipulating the filesystem, not just files).

Additionally, this adds an UnstableFileStat structure as a nested structure of
FileStat to signify that the fields should not be depended on. The structure is
currently flagged with #[unstable], but it's unlikely that it has much meaning.

Closes #10241
32 files changed:
src/compiletest/compiletest.rs
src/compiletest/runtest.rs
src/libextra/glob.rs
src/libextra/tempfile.rs
src/libextra/terminfo/parser/compiled.rs
src/libextra/workcache.rs
src/librustc/back/link.rs
src/librustc/driver/driver.rs
src/librustc/metadata/filesearch.rs
src/librustdoc/html/render.rs
src/librustpkg/installed_packages.rs
src/librustpkg/lib.rs
src/librustpkg/package_source.rs
src/librustpkg/path_util.rs
src/librustpkg/source_control.rs
src/librustpkg/tests.rs
src/librustpkg/testsuite/pass/src/c-dependencies/foo.rs
src/librustpkg/util.rs
src/librustuv/file.rs
src/librustuv/uvio.rs
src/librustuv/uvll.rs
src/libstd/os.rs
src/libstd/rt/io/file.rs [deleted file]
src/libstd/rt/io/fs.rs [new file with mode: 0644]
src/libstd/rt/io/mod.rs
src/libstd/rt/io/native/file.rs
src/libstd/rt/io/signal.rs
src/libstd/rt/sched.rs
src/libstd/run.rs
src/test/run-pass/glob-std.rs
src/test/run-pass/rename-directory.rs
src/test/run-pass/tempfile.rs