Method

FoundryVcsContentdup_id

unstable since: 1.3

Declaration [src]

char*
foundry_vcs_content_dup_id (
  FoundryVcsContent* self
)

Description [src]

Gets a stable identifier for this content, such as a blob id or worktree snapshot id.

Available since: 1.3

Return value

Type: char*

The content identifier.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.