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

Method Has

shock-server/util/util.go:30–35  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

28}
29
30func (q *Query) Has(key string) bool {
31 if _, has := q.list[key]; has {
32 return true
33 }
34 return false
35}
36
37func (q *Query) Value(key string) string {
38 return q.list[key][0]

Callers 3

streamDownloadFunction · 0.45
ReadMethod · 0.45
DynamicIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected