pub struct AntigravityStore {
pub root: PathBuf,
}Expand description
Reads and writes Antigravity conversations under a CLI data root
(default ~/.gemini/antigravity-cli).
Fields§
§root: PathBufImplementations§
Trait Implementations§
Source§impl Clone for AntigravityStore
impl Clone for AntigravityStore
Source§fn clone(&self) -> AntigravityStore
fn clone(&self) -> AntigravityStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AntigravityStore
impl Debug for AntigravityStore
Source§impl Store for AntigravityStore
Available on crate feature opencode only.
impl Store for AntigravityStore
Available on crate feature
opencode only.Source§fn delete(&self, reference: &PathBuf) -> Result<()>
fn delete(&self, reference: &PathBuf) -> Result<()>
The Ref is the conversation database; deleting removes it, its WAL
sidecars, and the session’s brain directory. Guarded on shape and
containment: the database must resolve (symlinks and all) to a file
directly under <root>/conversations, and its stem — which names the
brain directory — must be a plain path component, so a stale or
foreign reference never removes files outside the configured root.
Source§type H = Antigravity
type H = Antigravity
The harness this store reads and writes.
Source§fn discover(&self) -> Result<Vec<Discovered<PathBuf>>>
fn discover(&self) -> Result<Vec<Discovered<PathBuf>>>
Cheap metadata scan — no full message parsing. Read more
Source§fn load(&self, reference: &PathBuf) -> Result<Transcript<Antigravity>>
fn load(&self, reference: &PathBuf) -> Result<Transcript<Antigravity>>
Load and parse one transcript into its faithful native representation. Read more
Source§fn save(&self, transcript: &Transcript<Antigravity>) -> Result<Saved<PathBuf>>
fn save(&self, transcript: &Transcript<Antigravity>) -> Result<Saved<PathBuf>>
Persist a native transcript so the harness can resume it. Read more
Auto Trait Implementations§
impl Freeze for AntigravityStore
impl RefUnwindSafe for AntigravityStore
impl Send for AntigravityStore
impl Sync for AntigravityStore
impl Unpin for AntigravityStore
impl UnsafeUnpin for AntigravityStore
impl UnwindSafe for AntigravityStore
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