aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-06 15:24:28 +0800
committerGravatar Runxi Yu2026-03-06 15:24:28 +0800
commit596b28df282888bfea41c1c67fa1fcb3e7cbf782 (patch)
tree126a1bf3e72e129d22545ce138cfac76c301cd35
parentobject: Consider using a streaming API for blobs (diff)
signatureNo signature
objectstore: Add notes on a Cursor v0.1.63
-rw-r--r--objectstore/objectstore.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/objectstore/objectstore.go b/objectstore/objectstore.go
index 7ff5d809..58b091ef 100644
--- a/objectstore/objectstore.go
+++ b/objectstore/objectstore.go
@@ -40,3 +40,9 @@ type Store interface {
// Close releases resources associated with the backend.
Close() error
}
+
+// type Cursor any
+//
+// Then make all read functions accept and provide a Cursor
+// nil must always be accepted and would exhibit the same behavior as right now
+// Non-nil behavior is implementation-defined: e.g., pack selection