[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive ab00310b84 03/14: Fix: Describe return values i
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive ab00310b84 03/14: Fix: Describe return values in docstrings |
Date: |
Wed, 6 Sep 2023 04:00:02 -0400 (EDT) |
branch: elpa/hyperdrive
commit ab00310b8424466ee92fc395e71fa6e56b60792b
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Fix: Describe return values in docstrings
---
hyperdrive-lib.el | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 6f81c722d2..211e8f1cb0 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -396,9 +396,10 @@ When VERSION is nil, return latest version of ENTRY."
(cl-defun hyperdrive-open (entry &key then recurse (createp t))
"Open hyperdrive ENTRY.
If RECURSE, proceed up the directory hierarchy if given path is
-not found. THEN may be a function to pass to the handler to call
-in the buffer opened by the handler. When a writable ENTRY is not
-found and CREATEP is non-nil, create a new buffer for ENTRY."
+not found. THEN is a function to pass to the handler which will
+be called with no arguments in the buffer opened by the handler.
+When a writable ENTRY is not found and CREATEP is non-nil, create
+a new buffer for ENTRY."
(declare (indent defun))
;; TODO: Add `find-file'-like interface. See
<https://todo.sr.ht/~ushin/ushin/16>
;; TODO: When possible, check whether drive is writable with a HEAD request,
and set writablep in the
@@ -531,7 +532,9 @@ The following ENTRY slots are filled:
The following ENTRY hyperdrive slots are filled:
- public-key
-- domains (merged with current persisted value)"
+- domains (merged with current persisted value)
+
+Returns filled ENTRY."
(pcase-let* (((cl-struct hyperdrive-entry hyperdrive) entry)
((map link content-length content-type etag last-modified)
headers)
;; If URL hostname was a DNSLink domain, entry doesn't yet have
a public-key slot.
- [nongnu] elpa/hyperdrive updated (fcfff46d68 -> e85bd37f52), ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive d888a2d1c3 04/14: Add: (hyperdrive-view-file) Open hyperdrive file in view-mode, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive dff584bbe9 08/14: Meta: Update changelog, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive 465e8a1aca 10/14: Comment: Explanation, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive 109452e780 09/14: Merge branch 'view-file', ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive 006dcb9261 12/14: Meta: Update changelog, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive 466cbdd551 01/14: Comment: Remove TODO, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive 38e110b99f 02/14: Change: (hyperdrive-open) Add createp flag, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive ab00310b84 03/14: Fix: Describe return values in docstrings,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive a000cfb8ff 13/14: Comment: Explanation, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive f9e2623048 05/14: Add: (hyperdrive-dir-view-file) View file from hyperdrive-dir-mode, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive 55494532f3 07/14: Docs: Document hyperdrive-view-file and dir/history wrappers, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive aa29fa3652 06/14: Add: (hyperdrive-history-view-file) View file from history mode, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive f30fe3d890 11/14: Add: kill-buffer-query-functions integration, ELPA Syncer, 2023/09/06
- [nongnu] elpa/hyperdrive e85bd37f52 14/14: Fix: (-entry-version-ranges-no-gaps) Handle unknown entries, ELPA Syncer, 2023/09/06