Liking cljdoc? Tell your friends :D

clojure-lsp.shared


->rangeclj

(->range {:keys [name-row name-end-row name-col name-end-col row end-row col
                 end-col]
          :as element})
source

->scope-rangeclj

(->scope-range {:keys [name-row name-end-row name-col name-end-col row end-row
                       col end-col]
                :as element})
source

absolute-pathclj

(absolute-path path db)
source

assoc-in-someclj

(assoc-in-some m ks v)
source

assoc-someclj

(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. 
sourceraw docstring

class-file?clj

(class-file? uri)
source

client-changesclj

(client-changes changes db)
source

clojure-lsp-versionclj

(clojure-lsp-version)
source

colorizeclj

(colorize s color)
source

debounce-allclj

(debounce-all in ms)

Debounce in channel with ms miliseconds returning all values.

Debounce in channel with ms miliseconds returning all values.
sourceraw docstring

debounce-byclj

(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.
sourceraw docstring

deep-mergeclj

(deep-merge)
(deep-merge a)
(deep-merge a b)
(deep-merge a b & more)

Recursively merges maps together. Improved version of medley deep-merge concating colls instead of overwriting.

Recursively merges maps together.
Improved version of medley deep-merge concating colls instead of overwriting.
sourceraw docstring

directory?clj

(directory? f)
source

dissoc-inclj

(dissoc-in m key-vec)
source

ensure-jarfileclj

(ensure-jarfile uri db)
source

external-filename?clj

(external-filename? filename source-paths)
source

file-exists?clj

(file-exists? f)
source

filename->namespaceclj

(filename->namespace filename db)
source

filename->uriclj

(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.
sourceraw docstring

format-time-delta-msclj

(format-time-delta-ms start-time end-time)
source

full-file-rangeclj

source

generate-and-update-analysis-checksumsclj

(generate-and-update-analysis-checksums paths global-db db)
source

inside?clj

(inside? a b)

Checks if element a is inside element b scope.

Checks if element `a` is inside element `b` scope.
sourceraw docstring

jar-file?clj

(jar-file? filename)
source

join-filepathsclj

(join-filepaths & components)
source

keywordize-first-depthclj

(keywordize-first-depth m)
source

logging-resultscljmacro

(logging-results message results-fn & body)

Executes body, passing the results to results-fn, which should return a results message string. Logs message formatted with the time spent from body and the results message.

Executes `body`, passing the results to `results-fn`, which should return a
results message string. Logs `message` formatted with the time spent from body
and the results message.
sourceraw docstring

logging-taskcljmacro

(logging-task task-id & body)
source

logging-timecljmacro

(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.
sourceraw docstring

namespace+source-path->filenameclj

(namespace+source-path->filename namespace source-path file-type)
source

namespace->uriclj

(namespace->uri namespace source-paths filename db)
source

normalize-fileclj

(normalize-file file)
source

plain-uri?clj

(plain-uri? uri)
source

position->line-columnclj

(position->line-column position)
source

relativize-filepathclj

(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.
sourceraw docstring

slurp-filenameclj

(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.
sourceraw docstring

start-time->end-time-msclj

(start-time->end-time-ms start-time)
source

to-fileclj

(to-file path child)
source

uri->available-langsclj

(uri->available-langs uri)
source

uri->file-typeclj

(uri->file-type uri)
source

uri->filenameclj

(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.
sourceraw docstring

uri->namespaceclj

(uri->namespace uri db)
(uri->namespace uri filename db)
source

uri->pathclj

(uri->path uri)
source

valid-url?clj

(valid-url? value)
source

windows-os?clj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close