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

Method get

shock-server/auth/cache.go:32–37  ·  view source on GitHub ↗
(header string)

Source from the content-addressed store, hash-verified

30}
31
32func (c *cache) get(header string) (v cacheValue, ok bool) {
33 c.RLock()
34 defer c.RUnlock()
35 v, ok = c.m[header]
36 return
37}
38
39func (c *cache) delete(header string) {
40 c.Lock()

Callers 15

lookupMethod · 0.95
test_shock.pyFile · 0.80
confirm_nodes_projectFunction · 0.80
test_nodelist_noauthFunction · 0.80
test_nodelist_authFunction · 0.80
test_nodelist_badauthFunction · 0.80
test_upload_threefilesFunction · 0.80

Calls

no outgoing calls