MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / emitSSHProgress

Function emitSSHProgress

utils/ssh.go:304–314  ·  view source on GitHub ↗
(callback SSHProgressCallback, status SSHRetryStatus, attempt int, err error, message string)

Source from the content-addressed store, hash-verified

302}
303
304func emitSSHProgress(callback SSHProgressCallback, status SSHRetryStatus, attempt int, err error, message string) {
305 if callback == nil {
306 return
307 }
308 callback(SSHRetryInfo{
309 Status: status,
310 Attempt: attempt,
311 Error: err,
312 Message: message,
313 })
314}
315
316func retryMessageForStatus(status SSHRetryStatus) string {
317 switch status {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected