internal/store: iterator over all entries

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 {