Defined in OmniClient.h

OmniClientRequestId omniClientCreateCheckpoint(char const *url, char const *comment, bool force, void *userData, OmniClientCreateCheckpointCallback callback)

Create a checkpoint for a given URL (which can include a branch, otherwise assume the default branch)

Returns a query you can combine this with the source url to retrieve this specific checkpoint ‘force=true’ will create a checkpoint even if there are no changes


If this function is called after omniClientShutdown, kInvalidRequestId will be returned, and the callback will not be called.