MCPcopy
hub / github.com/NVIDIA/aistore / NewStringSet

Function NewStringSet

cmn/cos/common.go:233–237  ·  view source on GitHub ↗

StringSet //

(keys ...string)

Source from the content-addressed store, hash-verified

231///////////////
232
233func NewStringSet(keys ...string) (ss StringSet) {
234 ss = make(StringSet, len(keys))
235 ss.Add(keys...)
236 return
237}
238
239func (ss StringSet) String() string {
240 keys := ss.ToSlice()

Callers 12

UnmarshalJSONMethod · 0.92
configSectionCompletionsFunction · 0.92
setNodeConfigCompletionsFunction · 0.92
toSliceMethod · 0.92
provider.goFile · 0.92
electAmongProxiesMethod · 0.92
retrieveBackendProvidersFunction · 0.92
WaitForClusterStateFunction · 0.92
_joinClusterFunction · 0.92
_removeNodeFromSmapFunction · 0.92

Calls 1

AddMethod · 0.65

Tested by 1