diff options
Diffstat (limited to 'apps/servers/octopus/supergit/src/files/mod.rs')
-rw-r--r-- | apps/servers/octopus/supergit/src/files/mod.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/servers/octopus/supergit/src/files/mod.rs b/apps/servers/octopus/supergit/src/files/mod.rs new file mode 100644 index 000000000000..d278818b23ab --- /dev/null +++ b/apps/servers/octopus/supergit/src/files/mod.rs @@ -0,0 +1,15 @@ +//! File tree abstractions +//! +//! The supergit files API is split into two parts: `FileTree`, which +//! is mostly used internally and only exposed to allow external tools +//! to rely on the same indexing mechanism as supergit, and +//! `Explorer`, which is a high-level API for loading trees for +//! specific commits. +//! + +pub(self) mod tree_utils; +mod tree; +pub use tree::{FileTree, TreeEntry, EntryType}; + +mod explorer; +pub use explorer::{Explorer, Yield, YieldType}; |