MCPcopy
hub / github.com/cli/cli / parseCacheID

Function parseCacheID

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

Source from the content-addressed store, hash-verified

228}
229
230func parseCacheID(arg string) (int64, bool) {
231 id, err := strconv.ParseInt(arg, 10, 64)
232 return id, err == nil
233}

Callers 2

NewCmdDeleteFunction · 0.85
deleteCachesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected