Constructor

FoundryVcsRevisionnew_for_tree

unstable since: 1.3

Declaration [src]

FoundryVcsRevision*
foundry_vcs_revision_new_for_tree (
  FoundryVcsTree* tree
)

Description [src]

Creates a revision endpoint for a tree.

Available since: 1.3

Parameters

tree

Type: FoundryVcsTree

A FoundryVcsTree.

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.