MCPcopy
hub / github.com/kopia/kopia / Contains

Method Contains

internal/bigmap/bigmap_set.go:17–19  ·  view source on GitHub ↗

Contains returns true if a given key exists in the set.

(key []byte)

Source from the content-addressed store, hash-verified

15
16// Contains returns true if a given key exists in the set.
17func (s *Set) Contains(key []byte) bool {
18 return s.inner.Contains(key)
19}
20
21// Close releases resources associated with the set.
22func (s *Set) Close(ctx context.Context) {

Calls

no outgoing calls