Constructor

FoundryCiArtifactnew

unstable since: 1.2

Declaration [src]

FoundryCiArtifact*
foundry_ci_artifact_new (
  const char* name,
  GFile* file,
  FoundryCiArtifactKind kind
)

Description [src]

Creates a description of an artifact produced by a CI run.

Available since: 1.2

Parameters

name

Type: const char*

A user-visible artifact name.

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

Type: GFile

The artifact location.

The data is owned by the caller of the function.
kind

Type: FoundryCiArtifactKind

The kind of artifact.

Return value

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