Skip to main content

Crate fff_search

Crate fff_search 

Source
Expand description

fff-core - High-performance file finder library

This crate provides the core file indexing and fuzzy search functionality.

§State management

All state is instance-based. Callers create their own SharedPicker / SharedFrecency / SharedQueryTracker and pass them into FilePicker::new_with_shared_state. Multiple independent instances can coexist in the same process.

Re-exports§

pub use file_picker::FFFMode;
pub use file_picker::FuzzySearchOptions;
pub use file_picker::ScanProgress;
pub use grep::GrepMatch;
pub use grep::GrepMode;
pub use grep::GrepResult;
pub use grep::GrepSearchOptions;
pub use grep::has_regex_metacharacters;
pub use grep::is_definition_line;
pub use grep::is_import_line;
pub use types::FileItem;
pub use types::PaginationArgs;
pub use types::Score;
pub use types::ScoringContext;
pub use types::SearchResult;

Modules§

constraints
Constraint filtering engine for fff.
file_picker
frecency
git
grep
High-performance grep engine for live content search.
log
Shared logging utilities for FFF crates.
path_utils
Path utility functions for file picker scoring
query_tracker
score
types

Structs§

DbHealth
Health information about a database
FFFQuery
QueryParser
Main query parser - zero-cost wrapper around configuration

Enums§

Constraint
Constraint types that can be extracted from a query
Error
FuzzyQuery
Location

Traits§

DbHealthChecker

Functions§

parse_location
Parse location from the end of a query string.

Type Aliases§

Result
SharedFrecency
SharedPicker
SharedQueryTracker