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::buildto 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.