Constructor

FoundryVcsRevisionnew_for_commit

unstable since: 1.3

Declaration [src]

FoundryVcsRevision*
foundry_vcs_revision_new_for_commit (
  FoundryVcsCommit* commit
)

Description [src]

Creates a revision endpoint for a commit.

Available since: 1.3

Parameters

commit

Type: FoundryVcsCommit

A FoundryVcsCommit.

The data is owned by the caller of the function.

Return value

Type: FoundryVcsRevision

A new revision endpoint.

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