(analyze-system-sources source-dirs)Analyzes source directories and builds a namespace dependency graph.
Returns a map with:
Analyzes source directories and builds a namespace dependency graph. Returns a map with: - :source-files - collection of source file objects - :namespace-names - vector of namespace symbols - :namespace-name->source-file - map from namespace symbol to file - :namespaces-graph - dependency graph (clojure.tools.namespace.dependency/MapDependencyGraph)
(ensure-state-ns!)Creates or retrieves the internal state namespace used for storing load state. Returns the state namespace.
Creates or retrieves the internal state namespace used for storing load state. Returns the state namespace.
(gc-impl)(gc-impl {:keys [verbose?]})(loadtime)Returns the timestamp (in milliseconds) of the last system load/reload.
Returns the timestamp (in milliseconds) of the last system load/reload.
(middleware handler)(namespace-names-ordered namespaces-graph namespace-names)Orders namespace names based on their dependencies using topological sort. Namespaces are ordered so that dependencies come before their dependents.
Arguments:
Returns a sequence of namespace symbols in dependency order.
Orders namespace names based on their dependencies using topological sort. Namespaces are ordered so that dependencies come before their dependents. Arguments: - namespaces-graph: dependency graph from analyze-system-sources - namespace-names: collection of namespace symbols to order Returns a sequence of namespace symbols in dependency order.
(room-impl)(set-loadtime! msecs)Sets the system loadtime to the specified timestamp in milliseconds. Returns the updated state map.
Sets the system loadtime to the specified timestamp in milliseconds. Returns the updated state map.
(set-loadtime-current!)Sets the system loadtime to the current time. Returns the updated state map.
Sets the system loadtime to the current time. Returns the updated state map.
(state-atom)Returns the internal state atom containing the system load state. The state atom contains at least {:loadtime <timestamp-in-msecs>}.
Returns the internal state atom containing the system load state.
The state atom contains at least {:loadtime <timestamp-in-msecs>}.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |