Crate lilgrep

Crate lilgrep 

Source
Expand description

§Lilgrep

lilgrep is a collection of basic utilities for searching text within files.

Structs§

Config
Configuration for the minigrep application. Holds the query string, file path, and case sensitivity flag. Use Config::build to create a new instance.

Functions§

run
Executes the search based on the provided configuration.
search
Searches for a query string in the given contents.
search_case_insensitive
Searches for a query string in the given contents, ignoring case.