(compare-templates x y)
(path-matcher template)
Return a matcher function that given a uri path, if the uri matches
template
, returns a map of :template and :parameters for the
uri. Matcher returns nil
if uri does not match.
Return a matcher function that given a uri path, if the uri matches `template`, returns a map of :template and :parameters for the uri. Matcher returns `nil` if uri does not match.
(paths-matcher templates)
Return a matcher given a collection of templates
.
When matchers is given a uri, for the most specific template
matching uri, return a map of :template and :parameters. Returns
nil
when no template matches.
Return a matcher given a collection of `templates`. When matchers is given a uri, for the most specific template matching uri, return a map of :template and :parameters. Returns `nil` when no template matches.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close