Liking cljdoc? Tell your friends :D

clojure-lsp.custom-linters-api

Public API used by custom linters, avoid breaking changes.

Public API used by custom linters, avoid breaking changes.
raw docstring

api-fnsclj


db-with-internal-analysisclj

(db-with-internal-analysis db)

Return a db with only internal analysis.

Return a db with only internal analysis.
raw docstring

dir-uris->file-urisclj

(dir-uris->file-uris uris db)

Convert a coll of uris that may represent dirs to its respective file uris if present on db.

Example

(dir-uris->file-uris ["file:///project/src"] db)
=> ["file:///project/src/foo.clj"
    "file:///project/src/bar.clj"]

Convert a coll of uris that may represent dirs to its
 respective file uris if present on db.

**Example**

 ```clojure
 (dir-uris->file-uris ["file:///project/src"] db)
 => ["file:///project/src/foo.clj"
     "file:///project/src/bar.clj"]

 ```
raw docstring

external-analysisclj

(external-analysis db)

Filter only dependencies analysis, that are not related to project code.

Filter only dependencies analysis, that are not related to project code.
raw docstring

filename->uriclj

(filename->uri filename db)

Convert a absolute filename path to a uri.

Convert a absolute filename path to a uri.
raw docstring

find-declarationclj

(find-declaration db element)

Find the analysis element declaration.

Find the analysis element declaration.
raw docstring

find-definitionclj

(find-definition db element)

Find the analysis element definition.

Find the analysis element definition.
raw docstring

find-elementclj

(find-element db uri row col)

Find the analysis element in given position.

Find the analysis element in given position.
raw docstring

find-element-from-symclj

(find-element-from-sym db ns-sym name-sym)

Find element from a full qualified namespaced symbol.

Find element from a full qualified namespaced symbol.
raw docstring

find-implementationsclj

(find-implementations db element)

Find the analysis element implementations.

Find the analysis element implementations.
raw docstring

find-referencesclj

(find-references db element include-definition?)

Find the analysis element references.

Find the analysis element references.
raw docstring

find-var-definitionsclj

(find-var-definitions db uri include-private?)

Find all var-definitions of a uri.

Find all var-definitions of a uri.
raw docstring

internal-analysisclj

(internal-analysis db)

Filter only project related analysis, that are not related to dependencies code.

Filter only project related analysis, that are not related to dependencies code.
raw docstring

uri->filenameclj

(uri->filename uri)

Convert a uri to an absolute filename path.

Convert a uri to an absolute filename path.
raw docstring

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

× close