Replace cl-strings with split-sequence

… which is already pulled in as an indirect
dependency, anyway.
This commit is contained in:
Jaidyn Ann 2024-05-29 22:03:08 -05:00
parent 43cc123057
commit 7807afece2

View File

@ -188,4 +188,4 @@ That is, 443 is implied by HTTPS, so nil is returned; but 998 wouldnt be impl
(defun pathname-leaf (pathname)
"Given a pathname, return the entirety of the file leaf.
That is, everything following the last directory name."
(car (last (cl-strings:split (namestring pathname) #\/))))
(car (last (split-sequence:split-sequence #\/ (namestring pathname)))))