MCPcopy Create free account
hub / github.com/cli/cli / parseCacheID

Function parseCacheID

pkg/cmd/cache/delete/delete.go:236–239  ·  view source on GitHub ↗
(arg string)

Source from the content-addressed store, hash-verified

234}
235
236func parseCacheID(arg string) (int64, bool) {
237 id, err := strconv.ParseInt(arg, 10, 64)
238 return id, err == nil
239}

Callers 2

NewCmdDeleteFunction · 0.85
deleteCachesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected