Skip to contents

An Artifact contains exact bytes, their media type, and the exact dependency references recorded with them. data is decoded text for text/* media types and raw bytes for all other media types.

Usage

Artifact(
  ref = ArtifactRef(),
  bytes = raw(0),
  media_type = character(0),
  dependencies = NULL,
  data = NULL
)

Arguments

ref

Exact artifact reference.

bytes

Exact retained bytes.

media_type

Media type recorded for the artifact.

dependencies

Exact dependency references.

data

Decoded scalar text or raw bytes.