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

Function isValidBasepath

commands/api.go:92–97  ·  view source on GitHub ↗
(basepath string)

Source from the content-addressed store, hash-verified

90}
91
92func isValidBasepath(basepath string) (error, bool) {
93 if whiskerr, ok := hasPathPrefix(basepath); !ok {
94 return whiskerr, false
95 }
96 return nil, true
97}
98
99func isValidRelpath(relpath string) (error, bool) {
100 if whiskerr, ok := hasPathPrefix(relpath); !ok {

Callers 3

api.goFile · 0.85
parseApiFunction · 0.85
parseSwaggerApiFunction · 0.85

Calls 1

hasPathPrefixFunction · 0.85

Tested by

no test coverage detected