matchesGlob

open fun matchesGlob(path: String, globPattern: String): Boolean

Checks if a file path matches a glob pattern

Return

true if the path matches the pattern

Parameters

path

The file path to check

globPattern

The glob pattern to match against