MCPcopy Create free account
hub / github.com/VKCOM/nocc / DoneUploadFile

Method DoneUploadFile

internal/client/invocation.go:253–259  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

251}
252
253func (invocation *Invocation) DoneUploadFile(err error) {
254 if err != nil {
255 invocation.err = err
256 }
257 atomic.AddInt32(&invocation.waitUploads, -1)
258 invocation.wgUpload.Done() // will end up after all required files uploaded/failed
259}
260
261func (invocation *Invocation) ForceInterrupt(err error) {
262 logClient.Error("force interrupt", "sessionID", invocation.sessionID, "remoteHost", invocation.summary.remoteHost, invocation.cppInFile, err)

Callers 2

ForceInterruptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected