MCPcopy Create free account
hub / github.com/evilsocket/sum / Add

Method Add

service/cache.go:24–28  ·  view source on GitHub ↗
(id uint64, c *compiled)

Source from the content-addressed store, hash-verified

22}
23
24func (cc *compiledCache) Add(id uint64, c *compiled) {
25 cc.Lock()
26 defer cc.Unlock()
27 cc.cache[id] = c
28}
29
30func (cc *compiledCache) Del(id uint64) {
31 cc.Lock()

Callers 3

NewFunction · 0.80
CreateOracleMethod · 0.80
UpdateOracleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected