(glob-matches-pattern? dir file file-glob)
match pattern using fileglob matching functionality of PathMatcher class
match pattern using fileglob matching functionality of PathMatcher class
(match? dir file patterns)
the file must match at least one of the patterns.
the file must match at least one of the patterns.
(matches-pattern? dir file pattern)
patterns that are strings are file-globs, otherwise they are regexes. pattern group in a vector means it must fit all patterns in the vector.
patterns that are strings are file-globs, otherwise they are regexes. pattern group in a vector means it must fit all patterns in the vector.
(path [path & paths])
TODO consider better ways of expressing available ways of specifying paths this will likely use java's PathMatcher class
TODO consider better ways of expressing available ways of specifying paths this will likely use java's PathMatcher class
(split-path path-str)
produce strings in format accepted by Path
produce strings in format accepted by Path
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close