Commits

Phil Hargett  committed cbd8516

Removed dependency on SBCL's filesystem APIs for file modified time

  • Participants
  • Parent commits 2c81343

Comments (0)

Files changed (1)

File taglibraries.lisp

 (defgeneric tag-library-file-modified-time (library-name provider)
   (:method (library-name (provider folder-tag-library-provider) )
     (let ((full-path (tag-library-full-path library-name provider) ))
-      (unix-to-timestamp (sb-posix:stat-mtime (sb-posix:stat full-path)) ))))
+      (universal-to-timestamp (file-write-date full-path)))))
 
 (defun create-folder-tag-library-provider (folder)
   (make-instance 'folder-tag-library-provider :folder folder))