[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 00b0ad6c4c 02/16: Add: (he/within-version-range
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 00b0ad6c4c 02/16: Add: (he/within-version-range) Check whether entry is within range |
Date: |
Wed, 14 Aug 2024 16:00:13 -0400 (EDT) |
branch: elpa/hyperdrive
commit 00b0ad6c4c24ef742aa0b88311bd79eb7f4f287d
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Add: (he/within-version-range) Check whether entry is within range
---
hyperdrive-lib.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 47c62464d8..9d05f64207 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1709,6 +1709,12 @@ Compares their public keys."
"Return non-nil if entries A and B have the same hyperdrive."
(h/equal-p (he/hyperdrive a) (he/hyperdrive b)))
+(defun he/within-version-range (entry entry-with-range-end)
+ "Return non-nil if ENTRY's is within ENTRY-WITH-RANGE-END's range."
+ (<= (he/version entry-with-range-end)
+ (he/version entry)
+ (map-elt (he/etc entry-with-range-end) 'range-end)))
+
(defun h//ensure-dot-slash-prefix-path (path)
"Return PATH, ensuring it begins with the correct prefix.
Unless PATH starts with \"/\" \"./\" or \"../\", add \"./\"."
- [nongnu] elpa/hyperdrive updated (8aa6889759 -> 0779db8882), ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 46d91898b0 14/16: Meta: (CHANGELOG) Update note about forget-file, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 112e7b6316 10/16: Fix: (h/history-fill-version-ranges) Handle invocations on top line, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 00b0ad6c4c 02/16: Add: (he/within-version-range) Check whether entry is within range,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive e949238b77 08/16: Comment: (he//api-then) Add TODO, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive be5c54569a 15/16: Meta: (CHANGELOG) Note internal changes, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 4aa7cb8cbd 04/16: Change: (he//invalidate) Also invalidate history EWOC nodes, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 0779db8882 16/16: Merge: Forget files from history buffer; refactor hyperdrive-history, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive cd2d45225b 03/16: Add: (h/history-find-buffer-visiting) Get history buffer at entry, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 3c521a9960 11/16: Add: (h/history-forget-file) Bound to "F" in history buffers, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive b3b3396569 05/16: Change: (h/history) Store existsp and range-end in entry ETC, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive 279b65fc4b 09/16: Comment: (he//invalidate) Add TODO, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive ed54931e62 12/16: Docs: Document hyperdrive-history-forget-file, ELPA Syncer, 2024/08/14
- [nongnu] elpa/hyperdrive d4c069ca0e 07/16: Change: (he//invalidate) Only invalidate select entry slots, ELPA Syncer, 2024/08/14