Method

FoundryVcsresolve_revision

unstable since: 1.3

Declaration [src]

DexFuture*
foundry_vcs_resolve_revision (
  FoundryVcs* self,
  const char* revspec
)

Description [src]

Resolves revspec to a commit revision endpoint.

Implementations should reject revisions that do not resolve to a commit rather than returning an empty diff later.

Available since: 1.3

Parameters

revspec

Type: const char*

A VCS-specific revision specification.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: DexFuture

A DexFuture that resolves to a FoundryVcsRevision or rejects with error.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.