Constructor
FoundryCiArtifactnew
unstable since: 1.2
Declaration [src]
FoundryCiArtifact*
foundry_ci_artifact_new (
const char* name,
GFile* file,
FoundryCiArtifactKind kind
)
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:
GFileThe artifact location.
The data is owned by the caller of the function. kind-
Type:
FoundryCiArtifactKindThe kind of artifact.
Return value
Type: FoundryCiArtifact
A new FoundryCiArtifact.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |