Method
Claim
(ctx context.Context, userID, key, path, bodyHash string)
Source from the content-addressed store, hash-verified
| 169 | } |
| 170 | |
| 171 | func (f *keyRecordingIdem) Claim(ctx context.Context, userID, key, path, bodyHash string) (idempotency.ClaimResult, error) { |
| 172 | f.claimedKey = key |
| 173 | return f.fakeIdem.Claim(ctx, userID, key, path, bodyHash) |
| 174 | } |
| 175 | |
| 176 | // TestIdempotentNamespaceSeparation locks in the fix for the (user_id, key) |
| 177 | // collision: a caller-supplied Idempotency-Key header and a server-minted |
Callers
nothing calls this directly
Tested by
no test coverage detected