pub struct FileScanner { /* private fields */ }
Expand description
High-level scanner facade providing convenient access to all scanning functionality
Implementations§
Source§impl FileScanner
impl FileScanner
Sourcepub fn with_git_integration(self, repo_path: &Path) -> Result<Self>
pub fn with_git_integration(self, repo_path: &Path) -> Result<Self>
Enable git integration for enhanced file discovery
Sourcepub async fn scan_comprehensive<P: AsRef<Path>>(
&self,
path: P,
) -> Result<Vec<FileInfo>>
pub async fn scan_comprehensive<P: AsRef<Path>>( &self, path: P, ) -> Result<Vec<FileInfo>>
Scan a directory with comprehensive analysis
Sourcepub async fn scan_fast<P: AsRef<Path>>(&self, path: P) -> Result<Vec<FileInfo>>
pub async fn scan_fast<P: AsRef<Path>>(&self, path: P) -> Result<Vec<FileInfo>>
Quick scan without full content analysis
Sourcepub fn get_stats(&self) -> ScannerStats
pub fn get_stats(&self) -> ScannerStats
Get detailed statistics about the scanning process
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for FileScanner
impl !RefUnwindSafe for FileScanner
impl Send for FileScanner
impl Sync for FileScanner
impl Unpin for FileScanner
impl !UnwindSafe for FileScanner
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more