pub struct ClaudeCodeDetector {
pub override_root: Option<PathBuf>,
}Expand description
Detector for ~/.claude/projects/.
Fields§
§override_root: Option<PathBuf>Optional override path (set by tests; production uses $HOME).
Implementations§
Trait Implementations§
Source§impl Default for ClaudeCodeDetector
impl Default for ClaudeCodeDetector
Source§impl SourceDetector for ClaudeCodeDetector
impl SourceDetector for ClaudeCodeDetector
Source§fn adapter_id(&self) -> &'static str
fn adapter_id(&self) -> &'static str
Stable adapter identifier, must match the adapter’s
SourceDescriptor::adapter.Source§fn detect<'life0, 'life1, 'async_trait>(
&'life0 self,
opts: &'life1 DetectOpts,
) -> Pin<Box<dyn Future<Output = Result<Vec<DetectedSource>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn detect<'life0, 'life1, 'async_trait>(
&'life0 self,
opts: &'life1 DetectOpts,
) -> Pin<Box<dyn Future<Output = Result<Vec<DetectedSource>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Enumerate likely sources for this adapter. Empty result is valid
and means “I looked and didn’t find anything”.
Auto Trait Implementations§
impl Freeze for ClaudeCodeDetector
impl RefUnwindSafe for ClaudeCodeDetector
impl Send for ClaudeCodeDetector
impl Sync for ClaudeCodeDetector
impl Unpin for ClaudeCodeDetector
impl UnsafeUnpin for ClaudeCodeDetector
impl UnwindSafe for ClaudeCodeDetector
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