Crate minigrep_necimye

Crate minigrep_necimye 

Source
Expand description

crate minigrep_necimye contains the functions required for searching the query inside a file.

Structs§

Config
Struct that defines the structure of the configuration

Functions§

run
function that uses finds contents of entered file through CLI
search
function that searches the entered query in the contents of the file(the query and filepath are case insensitive)
search_case_insensitive
function that searches the entered query in the contents of the file(the query and filepath are case sensitive)