[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-scheme] branch master updated: doc: Document 'copy-query' and 'c
From: |
gnunet |
Subject: |
[gnunet-scheme] branch master updated: doc: Document 'copy-query' and 'copy-insertion'. |
Date: |
Thu, 03 Feb 2022 14:00:59 +0100 |
This is an automated email from the git hooks/post-receive script.
maxime-devos pushed a commit to branch master
in repository gnunet-scheme.
The following commit(s) were added to refs/heads/master by this push:
new 2ea2981 doc: Document 'copy-query' and 'copy-insertion'.
2ea2981 is described below
commit 2ea2981ffcdac122989d44c912ce090e4172633b
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Feb 3 12:59:31 2022 +0000
doc: Document 'copy-query' and 'copy-insertion'.
* doc/scheme-gnunet.tm (Data in the DHT): Document it.
Fixes: <https://notabug.org/maximed/scheme-gnunet/issues/20>.
---
doc/scheme-gnunet.tm | 17 +++++++++--------
gnu/gnunet/dht/client.scm | 1 -
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/doc/scheme-gnunet.tm b/doc/scheme-gnunet.tm
index b55c294..4fe4656 100644
--- a/doc/scheme-gnunet.tm
+++ b/doc/scheme-gnunet.tm
@@ -1235,17 +1235,18 @@
</explain>
<\explain>
+ <scm|(copy-query <var|old>)><index|copy-query>
+
<scm|(copy-datum <var|old>)><index|copy-datum>
- </explain|Make a copy of the datum <var|old>, such that modifications to
- the slices in <var|old> do not impact the new datum.>
- <\explain>
- <scm|(copy-search-result <var|old>)><index|copy-search-result>
- </explain|Make a copy of the search result <var|old>, such that
- modification to the slices in <var|old> do not impact the new search
- result.>
+ <scm|(copy-insertion <var|old>)><index|copy-insertion>
- <todo|copy insertion>
+ <scm|(copy-search-result <var|old>)><index|copy-search-result>
+ <|explain>
+ Make a copy of the object <var|old> (a query, datum, insertion or search
+ result object, depending on the procedure), such that modifications to
+ the slices in <var|old> do not impact the new object.
+ </explain>
<todo|cancellation>
diff --git a/gnu/gnunet/dht/client.scm b/gnu/gnunet/dht/client.scm
index 39f8d81..c89a16c 100644
--- a/gnu/gnunet/dht/client.scm
+++ b/gnu/gnunet/dht/client.scm
@@ -296,7 +296,6 @@ query object with the predicate @code{query?}."
(validate-key key)
(bound-replication-level desired-replication-level))))))
- ;; TODO: test and document
(define (copy-query old)
"Make a copy of the query object @var{old}, such that modifications to
the
slices in @var{old} do not impact the new query object."
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet-scheme] branch master updated: doc: Document 'copy-query' and 'copy-insertion'.,
gnunet <=