MCPcopy Index your code
hub / github.com/jetify-com/devbox / ParseShellStart

Function ParseShellStart

internal/telemetry/telemetry.go:382–391  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

380}
381
382func ParseShellStart(s string) time.Time {
383 if s == "" {
384 return time.Time{}
385 }
386 unix, err := strconv.ParseInt(s, 10, 64)
387 if err != nil {
388 return time.Time{}
389 }
390 return time.Unix(unix, 0)
391}

Callers 2

doLogCommandFunction · 0.92
ShellStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected