MCPcopy Create free account
hub / github.com/facebook/time / String

Method String

calnex/api/api.go:384–390  ·  view source on GitHub ↗

String returns all channels

()

Source from the content-addressed store, hash-verified

382
383// String returns all channels
384func (cs *Channels) String() string {
385 channels := make([]string, 0, len(*cs))
386 for _, c := range *cs {
387 channels = append(channels, string(c))
388 }
389 return strings.Join(channels, ", ")
390}
391
392// Type is required by the cobra.Value interface
393func (cs *Channels) Type() string {

Callers 13

TestChannelsFunction · 0.95
TestGenerateSVGFunction · 0.45
TestGenerateSVGZoomedFunction · 0.45
TestGenerateSVGWindowFunction · 0.45
TestGenerateSVGDataPathFunction · 0.45
FetchUsedChannelsMethod · 0.45
TestPostFunction · 0.45
TestChSetFunction · 0.45
TestBaseConfigFunction · 0.45
TestBaseConfigCh2Function · 0.45
TestMeasureConfigFunction · 0.45
TestMeasureConfig2Function · 0.45

Calls

no outgoing calls

Tested by 12

TestChannelsFunction · 0.76
TestGenerateSVGFunction · 0.36
TestGenerateSVGZoomedFunction · 0.36
TestGenerateSVGWindowFunction · 0.36
TestGenerateSVGDataPathFunction · 0.36
TestPostFunction · 0.36
TestChSetFunction · 0.36
TestBaseConfigFunction · 0.36
TestBaseConfigCh2Function · 0.36
TestMeasureConfigFunction · 0.36
TestMeasureConfig2Function · 0.36
TestPrepareFunction · 0.36