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

Method Confirm

intra/protect/ipmap/ipmap.go:794–838  ·  view source on GitHub ↗

Confirm marks ip as the confirmed address. No-op if current confirmed IP is the same as ip. No-op if s is of type Protected and ip isn't in seed addrs. No-op if s is of type IPAddr.

(ip netip.Addr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestConfirmedFunction · 0.80
TestConfirmNewFunction · 0.80
TestDisconfirmMismatchFunction · 0.80
ConfirmFunction · 0.80
confirmFunction · 0.80

Calls 6

ConfirmedMethod · 0.95
hasLockedMethod · 0.95
addLockedMethod · 0.95
GxFunction · 0.92
StringMethod · 0.65
StoreMethod · 0.45

Tested by 3

TestConfirmedFunction · 0.64
TestConfirmNewFunction · 0.64
TestDisconfirmMismatchFunction · 0.64