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

Struct pathRecordingIdem

internal/httpapi/outbound_idem_test.go:21–21  ·  view source on GitHub ↗

pathRecordingIdem captures the route (path) handed to Claim so a test can assert that two agents land under distinct idempotency routes.

Source from the content-addressed store, hash-verified

19// pathRecordingIdem captures the route (path) handed to Claim so a test can
20// assert that two agents land under distinct idempotency routes.
21type pathRecordingIdem struct{ paths []string }
22
23func (f *pathRecordingIdem) Claim(ctx context.Context, userID, key, path, bodyHash string) (idempotency.ClaimResult, error) {
24 f.paths = append(f.paths, path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected