MCPcopy Create free account
hub / github.com/cloudfoundry/garden / loadStream

Method loadStream

server/streamer/streamer.go:114–120  ·  view source on GitHub ↗
(id StreamID)

Source from the content-addressed store, hash-verified

112}
113
114func (m *Streamer) loadStream(id StreamID) (*stream, bool) {
115 strm, ok := m.streams.Load(id)
116 if !ok {
117 return nil, false
118 }
119 return strm.(*stream), true
120}
121
122type syncStreamIDGenerator struct {
123 current uint64

Callers 3

ServeStdoutMethod · 0.95
ServeStderrMethod · 0.95
StopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected