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

Function parseCacheID

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

Source from the content-addressed store, hash-verified

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

Callers 2

NewCmdDeleteFunction · 0.85
deleteCachesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected