emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 4a6296f10f 09/13: Comment: Add NOTE


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 4a6296f10f 09/13: Comment: Add NOTE
Date: Fri, 8 Sep 2023 19:00:09 -0400 (EDT)

branch: elpa/hyperdrive
commit 4a6296f10f218de4c8017a8bf82a13683104179b
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Comment: Add NOTE
---
 hyperdrive-lib.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 942768dd91..5b94325de1 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -314,6 +314,7 @@ Intended to be used as hash table key in 
`hyperdrive-version-ranges'."
 (defun hyperdrive-purge-version-ranges (hyperdrive)
   "Purge all version range data for HYPERDRIVE."
   (maphash (lambda (key _val)
+             ;; NOTE: The KEY starts with the key and ends with a path, so we 
compare as prefix.
              (when (string-prefix-p (hyperdrive-public-key hyperdrive) key)
                (remhash key hyperdrive-version-ranges)))
            hyperdrive-version-ranges)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]