pub struct OpenCodeWatcher;Expand description
Watcher for OpenCode CLI sessions.
Discovers and parses session files from the OpenCode CLI tool.
Sessions are stored across multiple files in ~/.local/share/opencode/storage/.
Trait Implementations§
Source§impl Watcher for OpenCodeWatcher
impl Watcher for OpenCodeWatcher
Source§fn info(&self) -> WatcherInfo
fn info(&self) -> WatcherInfo
Returns information about this watcher.
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Checks if this watcher is available. Read more
Source§fn find_sources(&self) -> Result<Vec<PathBuf>>
fn find_sources(&self) -> Result<Vec<PathBuf>>
Finds all session sources (files or directories) to import. Read more
Auto Trait Implementations§
impl Freeze for OpenCodeWatcher
impl RefUnwindSafe for OpenCodeWatcher
impl Send for OpenCodeWatcher
impl Sync for OpenCodeWatcher
impl Unpin for OpenCodeWatcher
impl UnwindSafe for OpenCodeWatcher
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