Liking cljdoc? Tell your friends :D

clojure-lsp.feature.file-management


analyze-changesclj

(analyze-changes {:keys [uri text version]}
                 {:keys [producer db*] :as components})
source

analyze-reference-uris!clj

(analyze-reference-uris! uris db*)
source

analyze-watched-files!clj

(analyze-watched-files! uris {:keys [db* producer] :as components})
source

create-ns-changesclj

(create-ns-changes uri text db)
source

did-changeclj

(did-change uri changes version {:keys [db* current-changes-chan]})
source

did-change-watched-filesclj

(did-change-watched-files changes
                          {:keys [db* watched-files-chan] :as components})
source

did-closeclj

(did-close uri {:keys [db*] :as components})
source

did-openclj

(did-open uri text {:keys [db* edits-chan] :as components} allow-create-ns)
source

did-saveclj

(did-save uri {:keys [db*] :as components})
source

force-get-document-textclj

(force-get-document-text uri {:keys [db*] :as components})

Get document text from db, if document not found, tries to open the document

Get document text from db, if document not found, tries to open the document
sourceraw docstring

load-document!clj

(load-document! uri text db*)
source

reference-urisclj

(reference-uris uri db-before db-after)
source

replace-textclj

(replace-text original replacement line character end-line end-character)

Returns ORIGINAL text but replacing its substring from LINE number at CHARACTER position to END-LINE number at END-CHARACTER position with REPLACEMENT text.

All line endings of the returned string are replaced with that of the ORIGINAL's line ending type.

The ORIGINAL's line ending type is set to be its first line ending type (either or ), or, if no newline is found, the system's line separator.

Returns ORIGINAL text but replacing its substring from LINE number at
  CHARACTER position to END-LINE number at END-CHARACTER position with
  REPLACEMENT text.

  All line endings of the returned string are replaced with that of
  the ORIGINAL's line ending type.

  The ORIGINAL's line ending type is set to be its first line ending
  type (either `
` or `
`), or, if no newline is found, the
  system's line separator.
sourceraw docstring

will-rename-filesclj

(will-rename-files files db)
source

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

× close