Skip to main content

find_files_with_replace_me

Function find_files_with_replace_me 

Source
pub fn find_files_with_replace_me<I>(
    file_paths: I,
) -> FindFilesIterator<I::IntoIter> 
where I: IntoIterator, I::Item: AsRef<Path>,
Expand description

Iterator that yields files that might contain @replace_me decorators.

This iterator reads files and pre-filters them to avoid expensive parsing of files that definitely don’t contain @replace_me decorators.