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

Function isValidRelpath

commands/api.go:99–104  ·  view source on GitHub ↗
(relpath string)

Source from the content-addressed store, hash-verified

97}
98
99func isValidRelpath(relpath string) (error, bool) {
100 if whiskerr, ok := hasPathPrefix(relpath); !ok {
101 return whiskerr, false
102 }
103 return nil, true
104}
105
106func getPathParameterNames(path string) ([]string, error) {
107 var pathParameters []string

Callers 2

api.goFile · 0.85
parseApiFunction · 0.85

Calls 1

hasPathPrefixFunction · 0.85

Tested by

no test coverage detected