Track namespace dependencies and changes by monitoring file-modification timestamps
Track namespace dependencies and changes by monitoring file-modification timestamps
(scan tracker & dirs)
DEPRECATED: replaced by scan-dirs.
Scans directories for Clojure (.clj, .cljc) source files which have changed since the last time 'scan' was run; update the dependency tracker with new/changed/deleted files.
If no dirs given, defaults to all directories on the classpath.
DEPRECATED: replaced by scan-dirs. Scans directories for Clojure (.clj, .cljc) source files which have changed since the last time 'scan' was run; update the dependency tracker with new/changed/deleted files. If no dirs given, defaults to all directories on the classpath.
(scan-all tracker & dirs)
DEPRECATED: replaced by scan-dirs.
Scans directories for all Clojure source files and updates the dependency tracker to reload files. If no dirs given, defaults to all directories on the classpath.
DEPRECATED: replaced by scan-dirs. Scans directories for all Clojure source files and updates the dependency tracker to reload files. If no dirs given, defaults to all directories on the classpath.
(scan-dirs tracker)
(scan-dirs tracker dirs)
(scan-dirs tracker dirs {:keys [platform add-all?] :as options})
Scans directories for files which have changed since the last time 'scan-dirs' or 'scan-files' was run; updates the dependency tracker with new/changed/deleted files.
dirs is the collection of directories to scan, defaults to all directories on Clojure's classpath.
Optional third argument is map of options:
:platform Either clj (default) or cljs, both defined in clojure.tools.namespace.find, controls file extensions and reader options.
:add-all? If true, assumes all extant files are modified regardless of filesystem timestamps.
Scans directories for files which have changed since the last time 'scan-dirs' or 'scan-files' was run; updates the dependency tracker with new/changed/deleted files. dirs is the collection of directories to scan, defaults to all directories on Clojure's classpath. Optional third argument is map of options: :platform Either clj (default) or cljs, both defined in clojure.tools.namespace.find, controls file extensions and reader options. :add-all? If true, assumes all extant files are modified regardless of filesystem timestamps.
(scan-files tracker files)
(scan-files tracker files {:keys [platform add-all?]})
Scans files to find those which have changed since the last time 'scan-files' was run; updates the dependency tracker with new/changed/deleted files.
files is the collection of files to scan.
Optional third argument is map of options:
:platform Either clj (default) or cljs, both defined in clojure.tools.namespace.find, controls reader options for parsing files.
:add-all? If true, assumes all extant files are modified regardless of filesystem timestamps.
Scans files to find those which have changed since the last time 'scan-files' was run; updates the dependency tracker with new/changed/deleted files. files is the collection of files to scan. Optional third argument is map of options: :platform Either clj (default) or cljs, both defined in clojure.tools.namespace.find, controls reader options for parsing files. :add-all? If true, assumes all extant files are modified regardless of filesystem timestamps.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close