pub struct NativeGitStorage;Expand description
Git-native session storage using gix.
Stores session data (HAIL JSONL + metadata JSON) as blobs on an orphan
branch (opensession/sessions) without touching the working directory.
Trait Implementations§
Source§impl GitStorage for NativeGitStorage
impl GitStorage for NativeGitStorage
Source§fn store(
&self,
repo_path: &Path,
session_id: &str,
hail_jsonl: &[u8],
meta_json: &[u8],
) -> Result<String>
fn store( &self, repo_path: &Path, session_id: &str, hail_jsonl: &[u8], meta_json: &[u8], ) -> Result<String>
Store a session in the git repository at
repo_path. Read moreAuto Trait Implementations§
impl Freeze for NativeGitStorage
impl RefUnwindSafe for NativeGitStorage
impl Send for NativeGitStorage
impl Sync for NativeGitStorage
impl Unpin for NativeGitStorage
impl UnwindSafe for NativeGitStorage
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