MCPcopy
hub / github.com/mislav/hub / Check

Function Check

utils/utils.go:19–24  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

17var timeNow = time.Now
18
19func Check(err error) {
20 if err != nil {
21 ui.Errorln(err)
22 os.Exit(1)
23 }
24}
25
26func ConcatPaths(paths ...string) string {
27 return strings.Join(paths, "/")

Callers 15

listReleasesFunction · 0.92
showReleaseFunction · 0.92
downloadReleaseFunction · 0.92
createReleaseFunction · 0.92
editReleaseFunction · 0.92
deleteReleaseFunction · 0.92
compareFunction · 0.92
browseFunction · 0.92
transformPushArgsFunction · 0.92
apiCommandFunction · 0.92
readFileFunction · 0.92
runHelpFunction · 0.92

Calls 1

ErrorlnFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…