aboutsummaryrefslogtreecommitdiff
path: root/apps/servers/octopus/supergit/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/servers/octopus/supergit/src/lib.rs')
-rw-r--r--apps/servers/octopus/supergit/src/lib.rs14
1 files changed, 8 insertions, 6 deletions
diff --git a/apps/servers/octopus/supergit/src/lib.rs b/apps/servers/octopus/supergit/src/lib.rs
index 17c9094c32dd..e7414c2862a7 100644
--- a/apps/servers/octopus/supergit/src/lib.rs
+++ b/apps/servers/octopus/supergit/src/lib.rs
@@ -15,8 +15,7 @@
//! are very computationally intensive, and will be marked with their
//! runtime cost.
-mod branch;
-pub use branch::{Branch, BranchIter, BranchCommit};
+pub mod branch;
mod commit;
pub use commit::Commit;
@@ -28,8 +27,11 @@ mod repo;
pub(crate) use repo::HashId;
pub use repo::Repository;
-mod files;
-pub use files::{Yield, FileTree};
+pub mod files;
-use async_std::sync::{Arc, RwLock};
-use std::sync::atomic::{AtomicUsize, Ordering};
+/// Contains all core functions and types in supergit
+pub mod prelude {
+ pub use crate::branch::{Branch, BranchIter};
+ pub use crate::files::{EntryType, Explorer, TreeEntry};
+ pub use crate::{Commit, Diff, Repository};
+}