findtext_textfile 0.1.1

Search text in text file
Documentation
1
2
3
4
5
6
7
8
9
10
// todo: make private
pub mod core;

use core::search::{handle, TextFileSearchResult};
use std::io;

/// entry point
pub fn search(keyword: &str, filepath: &str) -> Result<TextFileSearchResult, io::Error> {
    handle(keyword, filepath)
}