Function UploadResultEntry.effectFor

Interpret this result against the exact uploaded request entry.

bool effectFor(
  scope ref const(OwnedChangeEntry) uploaded,
  out UploadResultEffect effect
) pure nothrow @nogc @safe const;

This is the authoritative operation/effect classifier. In particular, an oldId/newId/newVersion shape can mean modify, retained delete-if-unused, or already-deleted conditional delete depending on the request context.

Parameters

NameDescription
uploaded Exact semantic change entry sent to the server.
effect Receives the request-context interpretation on success, or UploadResultEffect.none on failure.

Returns

true when this raw result can acknowledge uploaded; false otherwise.