summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2023-12-19 16:23:29 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2023-12-19 16:23:29 +1300
commit47b25c05a6be51b93c909d38a19440d1c04ba2f8 (patch)
tree448c23c6d58a8407de45a4730cf972bd83713aa0 /src/lib.rs
parent8f410d1ead74b979481f1488a4dcddd33ea829c7 (diff)
downloadvagabond-06b4917ac4712c02a7904521875ee01b102d8c2a.zip
Large collection of changesv1.0.0
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>;
+