dgamevfs.util
-
Declaration
pure @safe bool
subPathMatch
(stringpath
, stringparentPath
, stringglob
);Match
path
of a directory or a file relative to a parent directory with aglob
pattern.Parameters
string
path
Path of the file/directory.
string
parentPath
Path of the parent directory.
string
glob
Glob pattern to match with. If
null
, a match is assumed.Return Value
True on match or if
glob
isnull
;false
otherwise.