clean up drops data

This commit is contained in:
2026-01-04 01:07:31 -05:00
parent 712361da86
commit 3f83ab9210
2 changed files with 18 additions and 1 deletions

View File

@@ -20,6 +20,12 @@
(defun string-to-hash-table-key (s)
(string-replace " " s ""))
(defun update-hash (hm key f)
(setf (@ hm key) (funcall f (@ hm key))))
(defun string->bool (s)
(if (string-equal (string-downcase s) "true") t nil))
(defclass data-source ()
((cache :initform nil :accessor cache)
(file-path :initarg :file-path :accessor file-path)))