internal/store: iterator over all entries
All checks were successful
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m27s
Test / Hakurei (push) Successful in 3m13s
Test / Hpkg (push) Successful in 4m9s
Test / Sandbox (race detector) (push) Successful in 4m10s
Test / Hakurei (race detector) (push) Successful in 4m59s
Test / Flake checks (push) Successful in 1m31s

This is quite convenient for searching the store or printing active instance information.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-02 14:19:45 +09:00
parent 7c3c3135d8
commit 898b5aed3d
3 changed files with 196 additions and 6 deletions

View File

@@ -152,7 +152,7 @@ func TestStateEntryHandle(t *testing.T) {
})
}
func TestStoreHandle(t *testing.T) {
func TestSegmentHandle(t *testing.T) {
t.Parallel()
testCases := []struct {