Skip to content

Commit 2ebf189

Browse files
committed
Add FRESH-CACHE-P.
1 parent c180cf0 commit 2ebf189

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

upstream.lisp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,13 @@
182182
:name "source"
183183
:type "txt"))))
184184

185+
(defun fresh-cache-p (source)
186+
(not
187+
(not
188+
(probe-file
189+
(make-pathname :type nil :name "fresh-cache"
190+
:defaults (project-name-source-file (name source)) )))))
191+
185192
(defun find-source (project-name)
186193
(let* ((name (string-downcase project-name))
187194
(file (probe-file (project-name-source-file name))))

0 commit comments

Comments
 (0)