MCPcopy Index your code
hub / github.com/flyteorg/flyte / Remove

Method Remove

flytestdlib/cache/sync_set.go:24–26  ·  view source on GitHub ↗

Remove deletes a key from the set.

(key interface{})

Source from the content-addressed store, hash-verified

22
23// Remove deletes a key from the set.
24func (s *syncSet) Remove(key interface{}) {
25 s.underlying.Delete(key)
26}
27
28// Range allows iterating over the set. Deleting the key while iterating is a supported operation.
29func (s *syncSet) Range(callback func(key interface{}) bool) {

Callers 10

UpdateSchedulesMethod · 0.45
CreateMethod · 0.45
UpdateMethod · 0.45
DeleteMethod · 0.45
DeleteMethod · 0.45
rangeAndRemoveFunction · 0.45
TestSyncSet_ContainsFunction · 0.45
syncMethod · 0.45
runEqualTestFunction · 0.45

Calls 1

DeleteMethod · 0.65

Tested by 4

rangeAndRemoveFunction · 0.36
TestSyncSet_ContainsFunction · 0.36
runEqualTestFunction · 0.36