Function origen::utility::file_actions::contains[][src]

pub fn contains(file: &Path, regex: &Regex) -> Result<bool>
Expand description

Returns Ok(true) if any line in the given file matches the given regex