aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-05-20 16:24:57 +0000
committerGravatar Runxi Yu2026-05-20 16:25:26 +0000
commitf741f09fc8a114009abb65070395c44e4bc0e4f2 (patch)
tree839a539dad41d8a62a38eb025b6f0a6d48263be0
parentobject: Serialize -> Bytes (diff)
signatureNo signature
ref/store: List should not be backend-defined
-rw-r--r--ref/store/reading.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ref/store/reading.go b/ref/store/reading.go
index a9e2ad49..bf610d9b 100644
--- a/ref/store/reading.go
+++ b/ref/store/reading.go
@@ -28,6 +28,8 @@ type Reader interface {
// List returns references matching pattern.
//
// The exact pattern language is backend-defined.
+ // This is not good, and I should fix this soon.
+ // Also, this should be an iter.Seq[ref.Ref] instead.
//
// Labels: Life-Parent.
List(pattern string) ([]ref.Ref, error)