MCPcopy Index your code
hub / github.com/coder/coder / mockUploadStream

Struct mockUploadStream

coderd/provisionerdserver/upload_file_test.go:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143type mockUploadStream struct {
144 done chan struct{}
145 messages chan *sdkproto.FileUpload
146}
147
148func (m mockUploadStream) SendAndClose(empty *proto.Empty) error {
149 close(m.done)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected