MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / Insert

Method Insert

pkg/funclet/runtime/cgroup/string.go:49–53  ·  view source on GitHub ↗

Insert adds items to the set.

(items ...string)

Source from the content-addressed store, hash-verified

47
48// Insert adds items to the set.
49func (s String) Insert(items ...string) {
50 for _, item := range items {
51 s[item] = Empty{}
52 }
53}
54
55// Delete removes all items from the set.
56func (s String) Delete(items ...string) {

Callers 5

NewStringFunction · 0.95
StringKeySetFunction · 0.95
DifferenceMethod · 0.95
UnionMethod · 0.95
IntersectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected