add typesafty
This commit is contained in:
parent
59206d4545
commit
ea49ced936
1 changed files with 3 additions and 3 deletions
|
@ -27,9 +27,9 @@
|
||||||
(def JavaPath this/JavaPath) ; java.nio.Path
|
(def JavaPath this/JavaPath) ; java.nio.Path
|
||||||
(def Resource this/Resource)
|
(def Resource this/Resource)
|
||||||
|
|
||||||
(s/defn create-fs-resource :- this/Resource
|
(defn create-fs-resource
|
||||||
([virtual-path :- this/VirtualPath
|
([virtual-path
|
||||||
java-path :- this/JavaPath]
|
java-path]
|
||||||
{:virtual-path virtual-path
|
{:virtual-path virtual-path
|
||||||
:java-uri (.toUri java-path)
|
:java-uri (.toUri java-path)
|
||||||
:java-path java-path
|
:java-path java-path
|
||||||
|
|
Loading…
Reference in a new issue