Raxol. Utils. Glob
(Raxol v2.8.0)
View Source
Path.wildcard/2 under a directory whose name is data, not pattern.
Path.wildcard(Path.join(dir, "*.md")) hands dir to the glob compiler
too, so a directory named notes [1] matches nothing, one named bk{a,b}
matches bka/ and bkb/ instead, and on Windows every \ separator is
read as an escape. under/3 escapes dir first, so only pattern is glob
syntax. raxol_agent carries its own copy (Raxol.Agent.Glob); the
packages do not depend on each other.
Summary
Functions
path with every glob metacharacter escaped, for use as the literal prefix
of a pattern. Windows separators become / first: there a \ is never
part of a name, and escaped it would stop being a separator.
Files matching pattern under the literal directory dir.
Functions
path with every glob metacharacter escaped, for use as the literal prefix
of a pattern. Windows separators become / first: there a \ is never
part of a name, and escaped it would stop being a separator.
Files matching pattern under the literal directory dir.
Same options and result spelling as Path.wildcard/2.