MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / formatBackgroundExitCode

Function formatBackgroundExitCode

tools/bash/background.go:416–418  ·  view source on GitHub ↗
(command string, exitCode int)

Source from the content-addressed store, hash-verified

414 if _, err := rand.Read(b); err != nil {
415 return fmt.Sprintf("%d", time.Now().UnixNano())
416 }
417 return hex.EncodeToString(b)
418}
419
420func formatBackgroundExitCode(command string, exitCode int) string {
421 return FormatExitCode(command, exitCode)

Callers

nothing calls this directly

Calls 1

FormatExitCodeFunction · 0.85

Tested by

no test coverage detected