#[cfg_attr(target_family = "windows", path = "file/file_win32.rs")]
#[cfg_attr(target_family = "unix", path = "file/file_unix.rs")]
mod impls;
pub use impls::*;
pub mod sys {
use std::{fs::OpenOptions, io::Result, path::PathBuf};
use crate::io::IoReactor;
pub trait File: Sized {
fn new<P: Into<PathBuf>>(
reactor: IoReactor,
path: P,
ops: &mut OpenOptions,
) -> Result<Self>;
}
}
mod file;
pub use file::*;