MCPcopy
hub / github.com/nirui/sshwifty / handleCompleted

Method handleCompleted

application/command/handler.go:264–277  ·  view source on GitHub ↗
(d byte, l log.Logger)

Source from the content-addressed store, hash-verified

262}
263
264func (e *Handler) handleCompleted(d byte, l log.Logger) error {
265 st, stErr := e.streams.get(d)
266
267 if stErr != nil {
268 return stErr
269 }
270
271 if e.senderPaused {
272 e.sender.lock.Unlock()
273 defer e.sender.lock.Lock()
274 }
275
276 return st.release()
277}
278
279// Handle starts handling
280func (e *Handler) Handle() error {

Callers 1

HandleMethod · 0.95

Calls 2

getMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected