From c8f3364c742c3528ee0709a44e82643fee2f8afe Mon Sep 17 00:00:00 2001 From: Mx Kookie Date: Wed, 6 Jan 2021 23:04:53 +0100 Subject: octopus: supergit: add interface to query specific store paths --- apps/servers/octopus/supergit/src/files/mod.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apps/servers/octopus/supergit/src/files/mod.rs (limited to 'apps/servers/octopus/supergit/src/files/mod.rs') 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}; -- cgit v1.2.3