MCPcopy Create free account
hub / github.com/MG-RAST/Shock / validateCV

Function validateCV

shock-client/util.go:24–31  ·  view source on GitHub ↗
(name string, value string)

Source from the content-addressed store, hash-verified

22}
23
24func validateCV(name string, value string) bool {
25 if _, ok := CV[name]; ok {
26 if _, ok := CV[name][value]; ok {
27 return true
28 }
29 }
30 return false
31}
32
33func exitHelp() {
34 fmt.Fprintln(os.Stdout, USAGE)

Callers 3

addOptionsMethod · 0.85
mainFunction · 0.85
buildDownloadUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected