1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::PathMatcher; use std::path::Path; pub(crate) fn path_matcher_true() -> impl PathMatcher { PathMatcherTrue } struct PathMatcherTrue; impl PathMatcher for PathMatcherTrue { fn matches(&self, _path: &Path) -> bool { true } }