MCPcopy Create free account
hub / github.com/celzero/firestack / overrideDid

Function overrideDid

intra/ipn/rpn/yegor.go:2129–2149  ·  view source on GitHub ↗

overrideDid assigns did to ent.Did. If ent.Did is already set and does not match the incoming did, errWsDidMismatch is returned and ent is left unchanged.

(ent *WsEntitlement, did string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

MakeWsWgMethod · 0.85
MakeWsEntitlementMethod · 0.85
MakeWsWgFromMethod · 0.85

Calls 4

IFunction · 0.92
WFunction · 0.92
trunc8Function · 0.85
okMethod · 0.45

Tested by

no test coverage detected