std: remove impl'd/commented-out fstat signatures
This commit is contained in:
parent
e9acdd9392
commit
a87ff60f49
@ -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) ->
|
||||
|
@ -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| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user