MCPcopy
hub / github.com/sa7mon/S3Scanner / Add

Method Add

collection/collection.go:7–9  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

5type StringSet map[string]struct{}
6
7func (ss StringSet) Add(s string) {
8 ss[s] = struct{}{}
9}
10
11func (ss StringSet) Remove(s string) {
12 delete(ss, s)

Callers 4

TestWorkFunction · 0.80
TestMqWorkFunction · 0.80
mainFunction · 0.80
RunFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestWorkFunction · 0.64
TestMqWorkFunction · 0.64