pub struct CodexDiscovery;Trait Implementations§
Source§impl LogDiscovery for CodexDiscovery
impl LogDiscovery for CodexDiscovery
Source§fn probe(&self, path: &Path) -> ProbeResult
fn probe(&self, path: &Path) -> ProbeResult
Check if a file belongs to this provider
Source§fn resolve_log_root(&self, _project_root: &Path) -> Option<PathBuf>
fn resolve_log_root(&self, _project_root: &Path) -> Option<PathBuf>
Resolve log root directory for a given project root
Returns None if provider doesn’t organize by project
Source§fn scan_sessions(&self, log_root: &Path) -> Result<Vec<SessionIndex>>
fn scan_sessions(&self, log_root: &Path) -> Result<Vec<SessionIndex>>
Scan for sessions in the log root
Source§fn extract_session_id(&self, path: &Path) -> Result<String>
fn extract_session_id(&self, path: &Path) -> Result<String>
Extract session ID from file header (lightweight, no full parse)
Source§fn extract_project_hash(&self, path: &Path) -> Result<Option<ProjectHash>>
fn extract_project_hash(&self, path: &Path) -> Result<Option<ProjectHash>>
Extract project hash from file header (lightweight, no full parse)
Returns None if the file doesn’t contain project information
Auto Trait Implementations§
impl Freeze for CodexDiscovery
impl RefUnwindSafe for CodexDiscovery
impl Send for CodexDiscovery
impl Sync for CodexDiscovery
impl Unpin for CodexDiscovery
impl UnwindSafe for CodexDiscovery
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