glcov/glob

Values

pub fn matches(pattern: String, path: String) -> Bool

Small glob matcher for --exclude.

* matches any run of characters (including /); there is no separate character-class syntax. Examples:

src/generated/* matches everything below src/generated/ *.generated.gleam matches that suffix src/foo.gleam exact path

pub fn matches_any(patterns: List(String), path: String) -> Bool
✨ Search Document