Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MG-RAST/Shock
/ delete
Method
delete
shock-server/auth/cache.go:39–44 ·
view source on GitHub ↗
(header string)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
(c *cache) delete(header string) {
40
c.Lock()
41
defer
c.Unlock()
42
delete(c.m, header)
43
return
44
}
45
46
func
(c *cache) add(header string, u *user.User) {
47
c.Lock()
Callers
10
lookup
Method · 0.95
delete_nodes
Function · 0.80
test_upload_emptyfile
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
test_download_zip_GET
Function · 0.80
Calls
no outgoing calls
Tested by
9
delete_nodes
Function · 0.64
test_upload_emptyfile
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