diff options
author | Mx Kookie <kookie@spacekookie.de> | 2021-01-06 23:04:53 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2021-01-06 23:04:53 +0100 |
commit | c8f3364c742c3528ee0709a44e82643fee2f8afe (patch) | |
tree | 8c63dc68b0b9af25a138083825de424546871f6f /apps/servers/octopus/supergit/src/files/mod.rs | |
parent | fcc89b1b5bcbcb00ce02cb461b186ef0337312e3 (diff) |
octopus: supergit: add interface to query specific store paths
Diffstat (limited to '')
-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}; |