pub struct IndexUseCase<S, P, F, G> { /* private fields */ }Implementations§
Source§impl<S: GraphStore, P: ParseProvider, F: FileSystem, G: GitProvider> IndexUseCase<S, P, F, G>
impl<S: GraphStore, P: ParseProvider, F: FileSystem, G: GitProvider> IndexUseCase<S, P, F, G>
pub fn new(store: S, parser: P, fs: F, git: G) -> Self
pub fn full_index(&self, root: &Path) -> Result<IndexStats>
pub fn incremental_index(&self, root: &Path) -> Result<IndexStats>
pub fn incremental_files( &self, root: &Path, files: Vec<PathBuf>, ) -> Result<IndexStats>
Auto Trait Implementations§
impl<S, P, F, G> Freeze for IndexUseCase<S, P, F, G>
impl<S, P, F, G> RefUnwindSafe for IndexUseCase<S, P, F, G>
impl<S, P, F, G> Send for IndexUseCase<S, P, F, G>
impl<S, P, F, G> Sync for IndexUseCase<S, P, F, G>
impl<S, P, F, G> Unpin for IndexUseCase<S, P, F, G>
impl<S, P, F, G> UnsafeUnpin for IndexUseCase<S, P, F, G>
impl<S, P, F, G> UnwindSafe for IndexUseCase<S, P, F, G>
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