Skip to content

matches

In std/io/fs.

fn matches(self: Glob, path: Path) : Bool

Whether path, read as relative to the folder the glob is applied to, matches self. It reads the text and never the file system.