Liking cljdoc? Tell your friends :D

ns-tracker.core

Keeps track of which namespaces have changed and need to be reloaded.

Keeps track of which namespaces have changed and need to be reloaded.
raw docstring

add-to-dep-graphclj

(add-to-dep-graph dep-graph namespace-decls)
source

affected-namespacesclj

(affected-namespaces changed-namespaces old-dependency-graph)
source

current-timestamp-mapclj

(current-timestamp-map dirs)

Get the current modified timestamp map for all sources

Get the current modified timestamp map for all sources
sourceraw docstring

exclude-filesclj

(exclude-files timestamp-map ignore-files)
source

file?clj

(file? f)
source

find-sourcesclj

(find-sources dirs)
source

make-fileclj

(make-file f)
source

modified?clj

(modified? then now file)

Compare a file to a timestamp map to see if it's been modified since.

Compare a file to a timestamp map to see if it's been modified since.
sourceraw docstring

newer-namespace-declsclj

(newer-namespace-decls then now)
source

newer-sourcesclj

(newer-sources then now)
source

normalize-dirsclj

(normalize-dirs dirs)
source

ns-trackerclj

(ns-tracker dirs)
(ns-tracker dirs ignore-files)
(ns-tracker dirs ignore-files initial-timestamp-map)

Returns a no-arg function which, when called, returns a set of namespaces that need to be reloaded, based on file modification timestamps and the graph of namespace dependencies.

Returns a no-arg function which, when called, returns a set of
namespaces that need to be reloaded, based on file modification
timestamps and the graph of namespace dependencies.
sourceraw docstring

read-fileclj

(read-file file func)
source

remove-from-dep-graphclj

(remove-from-dep-graph dep-graph new-decls)
source

update-dependency-graphclj

(update-dependency-graph dep-graph new-decls)
source

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

× close