MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / checkError

Function checkError

tests/src/integration/common/utils.go:41–46  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

39)
40
41func checkError(err error) {
42 if err != nil {
43 fmt.Println(err.Error())
44 os.Exit(0)
45 }
46}
47
48func CreateFile(filePath string) {
49 var _, err = os.Stat(filePath)

Callers 4

CreateFileFunction · 0.85
ReadFileFunction · 0.85
WriteFileFunction · 0.85
DeleteFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected