Skip to content

Commit

Permalink
refactor: split search module into smaller components
Browse files Browse the repository at this point in the history
Split search.rs into smaller, focused modules:\n- matcher.rs: Pattern matching strategies\n- processor.rs: File processing logic\n- engine.rs: Main search coordination\n- mod.rs: Public API\n\nThis improves code organization and maintainability while maintaining backward compatibility by only exposing the search function.
  • Loading branch information
willibrandon committed Jan 13, 2025
1 parent 8b21cc7 commit 933a69b
Show file tree
Hide file tree
Showing 6 changed files with 280 additions and 402 deletions.
1 change: 1 addition & 0 deletions rustscout/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ pub mod search;
pub use config::SearchConfig;
pub use errors::{SearchError, SearchResult};
pub use results::{FileResult, Match, SearchResult as SearchOutput};
pub use search::search;
Loading

0 comments on commit 933a69b

Please sign in to comment.