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

Function IsValidUncompress

shock-server/node/archive/archive.go:48–55  ·  view source on GitHub ↗
(a string)

Source from the content-addressed store, hash-verified

46}
47
48func IsValidUncompress(a string) bool {
49 for _, b := range validUncompress {
50 if b == a {
51 return true
52 }
53 }
54 return false
55}
56
57func IsValidCompress(a string) bool {
58 for _, b := range validCompress {

Callers 1

UncompressReaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected