Skip to main content

prollytree/git/
mod.rs

1/*
2Licensed under the Apache License, Version 2.0 (the "License");
3you may not use this file except in compliance with the License.
4You may obtain a copy of the License at
5
6    http://www.apache.org/licenses/LICENSE-2.0
7
8Unless required by applicable law or agreed to in writing, software
9distributed under the License is distributed on an "AS IS" BASIS,
10WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11See the License for the specific language governing permissions and
12limitations under the License.
13*/
14
15pub mod metadata;
16pub mod operations;
17pub mod types;
18pub mod versioned_store;
19pub mod worktree;
20
21// Re-export commonly used types
22pub use crate::storage::GitNodeStorage;
23pub use metadata::{GitMetadataBackend, MetadataBackend};
24pub use operations::GitOperations;
25pub use types::{
26    CommitDetails, CommitInfo, DiffOperation, GitKvError, KvConflict, KvDiff, KvStorageMetadata,
27    MergeResult,
28};
29pub use versioned_store::{
30    GitNamespacedKvStore, GitVersionedKvStore, InMemoryNamespacedKvStore, NamespacedKvStore,
31    ThreadSafeFileVersionedKvStore, ThreadSafeGitNamespacedKvStore, ThreadSafeGitVersionedKvStore,
32    ThreadSafeInMemoryVersionedKvStore, ThreadSafeNamespacedKvStore, ThreadSafeVersionedKvStore,
33    VersionedKvStore,
34};
35pub use worktree::{WorktreeInfo, WorktreeManager, WorktreeVersionedKvStore};