MCPcopy Index your code
hub / github.com/celzero/firestack / put

Method put

intra/dnsx/cacher.go:262–316  ·  view source on GitHub ↗

put caches val against key, and returns true if the cache was updated. val must be a valid dns packet with successful rcode with no truncation.

(key string, cc *cres)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

fetchMethod · 0.80

Calls 13

HasRcodeSuccessFunction · 0.92
HasTCFlagFunction · 0.92
GxFunction · 0.92
WFunction · 0.92
RTtlFunction · 0.92
DFunction · 0.92
HasAnyAnswerFunction · 0.92
LenFunction · 0.92
rand33pcFunction · 0.85
copySummaryFunction · 0.85
ContainsMethod · 0.65
AddMethod · 0.65

Tested by

no test coverage detected