Skip to content

Commit

Permalink
(minor) scripts: finder: update fof -> finder
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
vindarel committed Feb 4, 2025
1 parent e85dfc5 commit 7c0b32b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/scripts/finder.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
(defparameter *directories* '("~/Music/" "~/Downloads/"))

(defun find-on-directory (root params)
(fof:finder*
(finder:finder*
:root root
;; "and" the params: needs ongoing PR.
;; :predicates (apply #'fof/p:every-path~ params)))
;; :predicates (apply #'finder/p:every-path~ params)))
;; does a "or":
:predicates (apply #'fof/p:path~ params)))
:predicates (apply #'finder:path~ params)))

(defun find-files (&optional params)
(unless params
Expand All @@ -33,7 +33,7 @@

(defun pprint-for-shell (list)
(mapcar (lambda (p)
(format t "~s~&" (fof:path p)))
(format t "~s~&" (finder:path p)))
list)
(terpri))

Expand Down

0 comments on commit 7c0b32b

Please sign in to comment.