Function view_files

Source
fn view_files(
    dir: impl AsRef<Path>,
) -> Result<impl Iterator<Item = (ViewNumber, PathBuf)>>
Expand description

Get all paths under dir whose name is of the form .txt.