summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index deea25c..38fb5ee 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,10 +1,16 @@
#![feature(io_error_more)]
+#![feature(never_type)]
+mod entry;
mod error;
-pub use error::*;
-
mod operations;
+
+pub use entry::*;
+pub use error::*;
pub use operations::*;
-mod entry;
-pub use entry::{Entry, EntryType};
+pub use std::path::{Path, PathBuf};
+
+pub type ReadResult<T> = Result<T, EntryReadError>;
+pub type WriteResult<T> = Result<T, EntryWriteError>;
+