Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
32
func
(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
39
func
(c *cache) delete(header string) {
40
c.Lock()
Callers
15
lookup
Method · 0.95
test_shock.py
File · 0.80
confirm_nodes_project
Function · 0.80
test_nodelist_noauth
Function · 0.80
test_nodelist_auth
Function · 0.80
test_nodelist_badauth
Function · 0.80
test_upload_threefiles
Function · 0.80
test_upload_and_delete_node
Function · 0.80
test_upload_and_download_node_GET
Function · 0.80
test_upload_and_download_node_GET_gzip
Function · 0.80
test_upload_and_download_node_GET_zip
Function · 0.80
test_upload_and_download_node_gzip
Function · 0.80
Calls
no outgoing calls
Tested by
14
confirm_nodes_project
Function · 0.64
test_nodelist_noauth
Function · 0.64
test_nodelist_auth
Function · 0.64
test_nodelist_badauth
Function · 0.64
test_upload_threefiles
Function · 0.64
test_upload_and_delete_node
Function · 0.64
test_upload_and_download_node_GET
Function · 0.64
test_upload_and_download_node_GET_gzip
Function · 0.64
test_upload_and_download_node_GET_zip
Function · 0.64
test_upload_and_download_node_gzip
Function · 0.64
test_download_zip_GET
Function · 0.64
test_download_tar_GET
Function · 0.64