Liking cljdoc? Tell your friends :D

pathological.path-matchers


matches?clj

(matches? path-matcher path)

Returns true if the path satisfies the path matcher, false otherwise.

See the Java documentation for more details.

Returns true if the path satisfies the path matcher, false otherwise.

See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/PathMatcher.html#matches%28java.nio.file.Path%29)
for more details.
sourceraw docstring

path-matcherclj

(path-matcher pattern)
(path-matcher file-system pattern)

Constructs a PathMatcher instance for the file system and pattern.

If no file system is provided the file system bound to pathological.file-systems/*file-system* is used.

The pattern argument consists of a syntax and a pattern string separated by a colon. By default, glob and regex syntaxes are supported although file system implementations may support others.

See the Java documentation for more details of acceptable patterns.

Constructs a [PathMatcher](https://docs.oracle.com/javase/7/docs/api/java/nio/file/PathMatcher.html)
instance for the file system and pattern.

If no file system is provided the file system bound to
[[pathological.file-systems/*file-system*]] is used.

The pattern argument consists of a syntax and a pattern string separated by
a colon. By default, `glob` and `regex` syntaxes are supported although
file system implementations may support others.

See [the Java documentation](https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getPathMatcher%28java.lang.String%29)
for more details of acceptable patterns.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close