Fixes the usage of .lastModified to correctly handle Git branch changes (which often don't update .lastModified)
Fixes the usage of .lastModified to correctly handle Git branch changes (which often don't update .lastModified)
(deleted-files tracker files)
(find-files dirs platform)
(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