MCPcopy
hub / github.com/grafana/dskit / List

Method List

kv/client.go:98–98  ·  view source on GitHub ↗

List returns a list of keys under the given prefix. Returned keys will include the prefix.

(ctx context.Context, prefix string)

Source from the content-addressed store, hash-verified

96 // List returns a list of keys under the given prefix. Returned keys will
97 // include the prefix.
98 List(ctx context.Context, prefix string) ([]string, error)
99
100 // Get a specific key. Will use a codec to deserialise key to appropriate type.
101 // If the key does not exist, Get will return nil and no error.

Callers 6

ListMethod · 0.65
ListMethod · 0.65
ListMethod · 0.65
ListMethod · 0.65
TestListFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestListFunction · 0.52