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 operations;
16pub mod storage;
17pub mod types;
18pub mod versioned_store;
19pub mod worktree;
20
21// Re-export commonly used types
22pub use operations::GitOperations;
23pub use storage::GitNodeStorage;
24pub use types::{
25 CommitDetails, CommitInfo, DiffOperation, GitKvError, KvConflict, KvDiff, KvStorageMetadata,
26 MergeResult,
27};
28pub use versioned_store::{
29 GitVersionedKvStore, ThreadSafeFileVersionedKvStore, ThreadSafeGitVersionedKvStore,
30 ThreadSafeInMemoryVersionedKvStore, ThreadSafeVersionedKvStore, VersionedKvStore,
31};
32pub use worktree::{WorktreeInfo, WorktreeManager, WorktreeVersionedKvStore};