MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / Claim

Method Claim

internal/httpapi/idempotency_test.go:171–174  ·  view source on GitHub ↗
(ctx context.Context, userID, key, path, bodyHash string)

Source from the content-addressed store, hash-verified

169}
170
171func (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

Calls 1

ClaimMethod · 0.65

Tested by

no test coverage detected