Skip to content

Commit

Permalink
std: remove impl'd/commented-out fstat signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
olsonjeffery committed Sep 17, 2013
1 parent e9acdd9 commit a87ff60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/libstd/rt/rtio.rs
Expand Up @@ -75,7 +75,6 @@ pub trait IoFactory {
fn fs_unlink<P: PathLike>(&mut self, path: &P) -> Result<(), IoError>;
fn get_host_addresses(&mut self, host: &str) -> Result<~[IpAddr], IoError>;
fn fs_stat<P: PathLike>(&mut self, path: &P) -> Result<FileStat, IoError>;
//fn fs_fstat(&mut self, fd: c_int) -> Result<FileStat, IoError>;
fn fs_mkdir<P: PathLike>(&mut self, path: &P) -> Result<(), IoError>;
fn fs_rmdir<P: PathLike>(&mut self, path: &P) -> Result<(), IoError>;
fn fs_readdir<P: PathLike>(&mut self, path: &P, flags: c_int) ->
Expand Down
3 changes: 0 additions & 3 deletions src/libstd/rt/uv/uvio.rs
Expand Up @@ -686,9 +686,6 @@ impl IoFactory for UvIoFactory {
assert!(!result_cell.is_empty());
return result_cell.take();
}
//fn fs_fstat(&mut self, _fd: c_int) -> Result<FileStat, IoError> {
// Ok(FileStat)
//}
fn fs_mkdir<P: PathLike>(&mut self, path: &P) -> Result<(), IoError> {
let mode = S_IRWXU as int;
do uv_fs_helper(self.uv_loop(), path) |mkdir_req, l, p, cb| {
Expand Down

0 comments on commit a87ff60

Please sign in to comment.