pub struct ConvoIO { /* private fields */ }Implementations§
Source§impl ConvoIO
impl ConvoIO
pub fn new() -> Self
pub fn with_resolver(resolver: PathResolver) -> Self
pub fn resolver(&self) -> &PathResolver
pub fn read_conversation( &self, project_path: &str, session_id: &str, ) -> Result<Conversation>
pub fn read_conversation_metadata( &self, project_path: &str, session_id: &str, ) -> Result<ConversationMetadata>
pub fn list_conversations(&self, project_path: &str) -> Result<Vec<String>>
pub fn list_conversation_metadata( &self, project_path: &str, ) -> Result<Vec<ConversationMetadata>>
pub fn list_projects(&self) -> Result<Vec<String>>
pub fn read_history(&self) -> Result<Vec<HistoryEntry>>
pub fn exists(&self) -> bool
pub fn claude_dir_path(&self) -> Result<PathBuf>
pub fn conversation_exists( &self, project_path: &str, session_id: &str, ) -> Result<bool>
pub fn project_exists(&self, project_path: &str) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConvoIO
impl RefUnwindSafe for ConvoIO
impl Send for ConvoIO
impl Sync for ConvoIO
impl Unpin for ConvoIO
impl UnsafeUnpin for ConvoIO
impl UnwindSafe for ConvoIO
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