pub struct GitObjectStore {
pub store: ArrowGraphStore,
pub config: GitConfig,
}Expand description
The git-aware graph store. Wraps ArrowGraphStore with versioning capabilities.
Fields§
§store: ArrowGraphStoreThe live in-memory graph.
config: GitConfigConfiguration.
Implementations§
Source§impl GitObjectStore
impl GitObjectStore
Sourcepub fn with_snapshot_dir(dir: impl Into<PathBuf>) -> Self
pub fn with_snapshot_dir(dir: impl Into<PathBuf>) -> Self
Create with a specific snapshot directory.
Sourcepub fn commit_snapshot_dir(&self, commit_id: &str) -> PathBuf
pub fn commit_snapshot_dir(&self, commit_id: &str) -> PathBuf
Path for a commit’s snapshot directory.
Sourcepub fn namespace_parquet_path(
&self,
commit_id: &str,
namespace: &str,
) -> PathBuf
pub fn namespace_parquet_path( &self, commit_id: &str, namespace: &str, ) -> PathBuf
Path for a namespace’s Parquet file within a commit snapshot.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitObjectStore
impl !RefUnwindSafe for GitObjectStore
impl Send for GitObjectStore
impl Sync for GitObjectStore
impl Unpin for GitObjectStore
impl UnsafeUnpin for GitObjectStore
impl !UnwindSafe for GitObjectStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more