MCPcopy Index your code
hub / github.com/Monibuca/engine / Range

Method Range

stream.go:133–138  ·  view source on GitHub ↗
(f func(name string, t common.Track))

Source from the content-addressed store, hash-verified

131}
132
133func (tracks *Tracks) Range(f func(name string, t common.Track)) {
134 tracks.Map.Range(func(k, v any) bool {
135 f(k.(string), v.(common.Track))
136 return true
137 })
138}
139
140func (tracks *Tracks) Add(name string, t common.Track) bool {
141 switch v := t.(type) {

Callers 6

SetIDRMethod · 0.95
MarshalJSONMethod · 0.95
FilterStreamsFunction · 0.45
SummaryMethod · 0.45
actionMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected