mirror of
https://github.com/metosin/reitit.git
synced 2025-12-20 09:31:11 +00:00
Link to original source files
This commit is contained in:
parent
48318b8793
commit
1623d001d1
1 changed files with 4 additions and 12 deletions
|
|
@ -1,15 +1,3 @@
|
|||
; Copyright 2013 Relevance, Inc.
|
||||
; Copyright 2014-2016 Cognitect, Inc.
|
||||
|
||||
; The use and distribution terms for this software are covered by the
|
||||
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0)
|
||||
; which can be found in the file epl-v10.html at the root of this distribution.
|
||||
;
|
||||
; By using this software in any fashion, you are agreeing to be bound by
|
||||
; the terms of this license.
|
||||
;
|
||||
; You must not remove this notice, or any other, from this software.
|
||||
|
||||
(ns ^:no-doc reitit.impl
|
||||
#?(:cljs (:require-macros [reitit.impl]))
|
||||
(:require [clojure.string :as str]
|
||||
|
|
@ -31,6 +19,10 @@
|
|||
coll
|
||||
coll))
|
||||
|
||||
;;
|
||||
;; https://github.com/pedestal/pedestal/blob/master/route/src/io/pedestal/http/route/prefix_tree.clj
|
||||
;;
|
||||
|
||||
(defn wild? [s]
|
||||
(contains? #{\: \*} (first (str s))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue