Function clio::any_file

source ·
pub fn any_file(_: &ClioPath) -> bool
Expand description

A predicate for filtering files that accepts any file

use clio::{ClioPath, any_file};

let dir = ClioPath::new("/tmp/foo")?;
for file in dir.files(any_file)? {
    file.open()?;
}