MCPcopy Create free account
hub / github.com/compozy/agh / formatAgentTime

Function formatAgentTime

internal/cli/agent_kernel.go:552–557  ·  view source on GitHub ↗
(value time.Time)

Source from the content-addressed store, hash-verified

550}
551
552func formatAgentTime(value time.Time) string {
553 if value.IsZero() {
554 return "-"
555 }
556 return strconv.FormatInt(value.UTC().Unix(), 10)
557}
558
559func firstCLIValue(values ...string) string {
560 for _, value := range values {

Callers 1

Calls 1

IsZeroMethod · 0.45

Tested by

no test coverage detected