MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Reset

Method Reset

internal/utils/sets/set_fixed.go:61–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func (this *FixedSet) Reset() {
62 this.locker.Lock()
63 this.m = map[any]zero.Zero{}
64 this.keys = nil
65 this.locker.Unlock()
66}

Callers

nothing calls this directly

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected