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 Resource this/Resource)
|
||||
|
||||
(s/defn create-fs-resource :- this/Resource
|
||||
([virtual-path :- this/VirtualPath
|
||||
java-path :- this/JavaPath]
|
||||
(defn create-fs-resource
|
||||
([virtual-path
|
||||
java-path]
|
||||
{:virtual-path virtual-path
|
||||
:java-uri (.toUri java-path)
|
||||
:java-path java-path
|
||||
|
|
Loading…
Reference in a new issue