(analyze-changes {:keys [uri text version]}
{:keys [producer db*] :as components})
(analyze-reference-uris! uris db*)
(analyze-watched-files! uris {:keys [db* producer] :as components})
(create-ns-changes uri text db)
(did-change uri changes version {:keys [db* current-changes-chan]})
(did-change-watched-files changes
{:keys [db* watched-files-chan] :as components})
(did-close uri {:keys [db*] :as components})
(did-open uri
text
{:keys [db* producer edits-chan] :as components}
allow-create-ns)
(did-rename-files files {:keys [db*] :as components})
(did-save uri {:keys [db*] :as components})
(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
(load-document! uri text db*)
(reference-uris uri db-before db-after)
(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.
(will-rename-files files db)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close