MCPcopy Create free account
hub / github.com/cli/cli / ArtifactWithVersions

Struct ArtifactWithVersions

pkg/cmd/issue/artifact/client/types.go:83–88  ·  view source on GitHub ↗

ArtifactWithVersions is one artifact with its edit history, as the API returns a single artifact.

Source from the content-addressed store, hash-verified

81// ArtifactWithVersions is one artifact with its edit history, as the API
82// returns a single artifact.
83type ArtifactWithVersions struct {
84 Artifact
85 // Versions is the edit history as the API returns it: newest first,
86 // including the current version.
87 Versions []Version
88}
89
90// Version is one saved version of an artifact. The API can return null for
91// the actor and the timestamp, so those are pointers.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected