Skip to main content

Crate pathfinder_search

Crate pathfinder_search 

Source
Expand description

Pathfinder Search — The Scout Engine.

Provides Ripgrep-powered text search for the search_codebase MCP tool.

§Architecture

  • Scout — testability trait (I/O boundary)
  • RipgrepScout — production implementation using the grep-* crate family
  • MockScout — test double for unit testing consumers
  • typesSearchParams, SearchMatch, SearchResult

Re-exports§

pub use mock::MockScout;
pub use ripgrep::RipgrepScout;
pub use searcher::Scout;
pub use types::SearchMatch;
pub use types::SearchParams;
pub use types::SearchResult;

Modules§

mock
Mock module for testing purposes Test double for the Scout trait.
ripgrep
The ripgrep module provides functionality for fast text searching using the ripgrep engine. Production search implementation using the grep-* crate family.
searcher
Public module for searcher functionality. The Scout trait — testability boundary for the search engine.
types
Module containing type definitions Types for the search engine — SearchParams, SearchMatch, SearchResult.