Liking cljdoc? Tell your friends :D

std.lang.base.library


*strict*clj


+ops+clj


add-book!clj

(add-book! lib book)

adds a book to the library

adds a book to the library
raw docstring

add-entry!clj

(add-entry! {:keys [dispatch] :as lib} entry)

adds the entry with the bulk dispatcher

adds the entry with the bulk dispatcher
raw docstring

add-entry-single!clj

(add-entry-single! lib entry & [opts])

adds an entry synchronously

adds an entry synchronously
raw docstring

add-module!clj

(add-module! lib module)

adds a module to the library

(lib/add-module! +library+ (module/book-module '{:lang :redis :id L.redis.hello :link {r L.redis u L.core}})) => coll?

(lib/delete-module! +library+ :redis 'L.redis.hello ) => coll?

adds a module to the library

(lib/add-module! +library+ (module/book-module '{:lang :redis
                                                 :id L.redis.hello
                                                 :link {r L.redis
                                                        u L.core}}))
=> coll?

(lib/delete-module! +library+ :redis 'L.redis.hello )
=> coll?
raw docstring

delete-book!clj

(delete-book! lib lang)

deletes a book

deletes a book
raw docstring

delete-entry!clj

(delete-entry! lib {:keys [lang module section id] :as m})

deletes an entry from the library

deletes an entry from the library
raw docstring

delete-module!clj

(delete-module! lib lang module-id)

deletes a module from the library

deletes a module from the library
raw docstring

delete-modules!clj

(delete-modules! lib lang module-ids)

deletes a bunch of modules from the library

deletes a bunch of modules from the library
raw docstring

get-bookclj

(get-book lib lang)

gets a book from library

gets a book from library
raw docstring

get-book-rawclj

(get-book-raw lib lang)

gets the raw book, without merge

(b/list-entries (lib/get-book-raw +library+ :redis)) => empty?

(b/list-entries (lib/get-book +library+ :redis)) => coll?

gets the raw book, without merge

(b/list-entries (lib/get-book-raw +library+ :redis))
=> empty?

(b/list-entries (lib/get-book +library+ :redis))
=> coll?
raw docstring

get-entryclj

(get-entry lib {:keys [lang id module section] :as entry})

gets an entry from library

gets an entry from library
raw docstring

get-moduleclj

(get-module lib lang module-id)

gets a module from library

gets a module from library
raw docstring

get-snapshotclj

(get-snapshot lib)

gets the current snapshot for the library

gets the current snapshot for the library
raw docstring

install-book!clj

(install-book! lib book)

installs a book to library

installs a book to library
raw docstring

install-module!clj

(install-module! lib lang module-id options)

installs a module to library

installs a module to library
raw docstring

libraryclj

(library {:keys [id parent snapshot] :as m})

creates and start a new library

creates and start a new library
raw docstring

library-stringclj

(library-string {:keys [id parent instance]})

returns the library string

returns the library string
raw docstring

library:createclj

(library:create {:keys [id parent snapshot] :as m})

creates a new library

creates a new library
raw docstring

library?clj

(library? obj)

checks if object is a library

checks if object is a library
raw docstring

list-entriesclj

(list-entries lib lang)
(list-entries lib lang module-id)
(list-entries lib lang module-id section)

lists entries

lists entries
raw docstring

list-modulesclj

(list-modules lib lang)

lists all modules

lists all modules
raw docstring

purge-book!clj

(purge-book! lib lang)

clears all modules from book

clears all modules from book
raw docstring

reset-all!clj

(reset-all! lib)
(reset-all! lib new-snapshot)

resets the library

resets the library
raw docstring

wait-applyclj

(wait-apply lib f & args)

get the library state when task queue is empty

get the library state when task queue is empty
raw docstring

wait-mutate!clj

(wait-mutate! lib f & args)

mutates library once task queue is empty

mutates library once task queue is empty
raw docstring

wait-snapshotclj

(wait-snapshot lib)

gets the current waiting snapshot

(lib/wait-snapshot +library+) => snap/snapshot?

(meta (lib/wait-snapshot +library+)) => {:parent nil}

gets the current waiting snapshot

(lib/wait-snapshot +library+)
=> snap/snapshot?

(meta (lib/wait-snapshot +library+))
=> {:parent nil}
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close