(->range {:keys [name-row name-end-row name-col name-end-col row end-row col
end-col]
:as element})
(->scope-range {:keys [name-row name-end-row name-col name-end-col row end-row
col end-col]
:as element})
(assoc-in-some m ks v)
(assoc-some m k v)
(assoc-some m k v & kvs)
Assoc[iate] if the value is not nil.
Assoc[iate] if the value is not nil.
(debounce-by in ms by-fn)
Debounce in channel with ms miliseconds distincting by by-fn.
Debounce in channel with ms miliseconds distincting by by-fn.
(deep-merge a b)
(dissoc-in m key-vec)
(file-exists? f)
(filename->namespace filename db)
(filename->uri filename db)
Converts an absolute file path into a file URI string.
Jar files are given the jar:file
or zipfile
scheme depending on the
:dependency-scheme
setting.
Converts an absolute file path into a file URI string. Jar files are given the `jar:file` or `zipfile` scheme depending on the `:dependency-scheme` setting.
(full-file-range)
(inside? a b)
Checks if element a
is inside element b
scope.
Checks if element `a` is inside element `b` scope.
(join-filepaths & components)
(keywordize-first-depth m)
(logging-time message & body)
Executes body
logging message
formatted with the time spent
from body.
Executes `body` logging `message` formatted with the time spent from body.
(namespace+source-path->filename namespace source-path file-type)
(namespace->uri namespace source-paths filename db)
(plain-uri? uri)
(position->line-column position)
(process-alive? pid)
(project-filename? filename source-paths)
(relativize-filepath path root)
Returns absolute path
(string) as relative file path starting at root
(string)
The output representation path matches that of the operating system.
Returns absolute `path` (string) as relative file path starting at `root` (string) The output representation path matches that of the operating system.
(slurp-filename f)
Slurp filename f. Used for be able to with-refefs this function.
Slurp filename f. Used for be able to with-refefs this function.
(start-time->end-time-seconds start-time)
(to-file path child)
(unix-process-alive? pid)
(uri->available-langs uri)
(uri->file-type uri)
(uri->filename uri)
Converts a URI string into an absolute file path.
The output path representation matches that of the operating system.
Converts a URI string into an absolute file path. The output path representation matches that of the operating system.
(uri->namespace uri db)
(uri->namespace uri filename db)
(uri->path uri)
(windows-process-alive? pid)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close