MCPcopy Create free account
hub / github.com/syncthing/syncthing / add

Method add

script/authors.go:270–272  ·  view source on GitHub ↗
(e string)

Source from the content-addressed store, hash-verified

268}
269
270func (s stringSet) add(e string) {
271 s[e] = struct{}{}
272}
273
274func (s stringSet) has(e string) bool {
275 _, ok := s[e]

Callers 3

stringSetFromStringsFunction · 0.45
addCommitMethod · 0.45
handleConsoleCallFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected