MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / abortWorkerProcess

Method abortWorkerProcess

tq/custom.go:239–244  ·  view source on GitHub ↗

abortWorkerProcess terminates & aborts untidily, most probably breakdown of comms or internal error

(ctx *customAdapterWorkerContext)

Source from the content-addressed store, hash-verified

237
238// abortWorkerProcess terminates & aborts untidily, most probably breakdown of comms or internal error
239func (a *customAdapter) abortWorkerProcess(ctx *customAdapterWorkerContext) {
240 a.Trace("xfer: Aborting worker process: %d", ctx.workerNum)
241 ctx.stdin.Close()
242 ctx.stdout.Close()
243 ctx.cmd.Process.Kill()
244}
245func (a *customAdapter) WorkerEnding(workerNum int, ctx interface{}) {
246 customCtx, ok := ctx.(*customAdapterWorkerContext)
247 if !ok {

Callers 2

WorkerStartingMethod · 0.95
WorkerEndingMethod · 0.95

Calls 2

CloseMethod · 0.65
TraceMethod · 0.45

Tested by

no test coverage detected