pub struct ClaudeCodeFormat;Expand description
Claude Code session log format (JSONL).
Trait Implementations§
Source§impl LogFormat for ClaudeCodeFormat
impl LogFormat for ClaudeCodeFormat
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Format identifier (e.g., “claude”, “codex”, “gemini”, “normalize”).
Source§fn sessions_dir(&self, project: Option<&Path>) -> PathBuf
fn sessions_dir(&self, project: Option<&Path>) -> PathBuf
Get the sessions directory for this format.
Does NOT check if the directory exists - that’s handled by list_sessions.
Source§fn list_sessions(&self, project: Option<&Path>) -> Vec<SessionFile>
fn list_sessions(&self, project: Option<&Path>) -> Vec<SessionFile>
List all session files for this format.
Source§fn list_subagent_sessions(&self, project: Option<&Path>) -> Vec<SessionFile>
fn list_subagent_sessions(&self, project: Option<&Path>) -> Vec<SessionFile>
List subagent session files for this format.
Default returns empty (only Claude Code supports subagents currently).
Source§fn detect(&self, path: &Path) -> f64
fn detect(&self, path: &Path) -> f64
Check if this format can parse the given file.
Returns a confidence score 0.0-1.0.
Auto Trait Implementations§
impl Freeze for ClaudeCodeFormat
impl RefUnwindSafe for ClaudeCodeFormat
impl Send for ClaudeCodeFormat
impl Sync for ClaudeCodeFormat
impl Unpin for ClaudeCodeFormat
impl UnsafeUnpin for ClaudeCodeFormat
impl UnwindSafe for ClaudeCodeFormat
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