pub enum InputSource {
LocalPaths(Vec<PathBuf>),
RemoteUrl {
url: String,
git_ref: String,
auth_token: Option<String>,
},
RemoteList {
file: PathBuf,
git_ref: String,
auth_token: Option<String>,
},
AllClients,
SpecificClient(ClientType),
AwesomeClaudeCode,
}Expand description
The source of input for scanning.
Variants§
LocalPaths(Vec<PathBuf>)
Local file or directory paths specified by user.
RemoteUrl
Remote repository URL.
RemoteList
List of remote repository URLs from a file.
AllClients
All installed AI coding clients.
SpecificClient(ClientType)
A specific AI coding client.
AwesomeClaudeCode
Awesome Claude Code repositories.
Implementations§
Trait Implementations§
Source§impl Clone for InputSource
impl Clone for InputSource
Source§fn clone(&self) -> InputSource
fn clone(&self) -> InputSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputSource
impl RefUnwindSafe for InputSource
impl Send for InputSource
impl Sync for InputSource
impl Unpin for InputSource
impl UnwindSafe for InputSource
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