From 89e0315d74741696c497d09ef09320bbffc5bfa1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Apr 2018 17:39:56 -0700 Subject: clarify list() defaults recursive --- proposals/0000-hyperdb.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proposals/0000-hyperdb.md b/proposals/0000-hyperdb.md index 89ba2c8..c05bd0b 100644 --- a/proposals/0000-hyperdb.md +++ b/proposals/0000-hyperdb.md @@ -108,7 +108,8 @@ key is an error. Requires read-write access. the database under the given prefix. Prefixes operate on a path-segment basis: `/ab` is not a valid prefix for key `/abcd`, but is valid for `/ab/cd`. If the prefix does not exist, returns an empty list. The order of returned keys is -implementation (or configuration) specific. Read-only. +implementation (or configuration) specific. Default listing is recursive +(implementations may have a flag to control this behavior). Read-only. If the hypercore underlying a hyperdb is only partially replicated, behavior is implementation-specific. For example, a `get()` call could block until the -- cgit v1.2.3