             (puthash package t straight--success-cache)
             t))))))
 
+;;;;; Rebuilding packages
+
 ;;;###autoload
 (defun straight-check-package (package)
   "Rebuild a PACKAGE if it has been modified.

`straight--cached-packages-might-be-modified-p'. (Its value is
`:unknown' if that function has not yet been called to get the
value to cache.)")

(defun straight--cached-packages-might-be-modified-p ()
  "Check whether any of the packages in the build cache might be modified.

                        "-o" "-newermt" last-mtime "-print")
                       (> (buffer-size) 0)))))))))

;;;; Building packages
;;;;; Files directive processing

(defvar straight--default-files-directive
  '("*.el" "*.el.in" "dir"
