MCPcopy
hub / github.com/cli/cli / GitHubReleaseBundle

Function GitHubReleaseBundle

pkg/cmd/attestation/test/data/data.go:26–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24}
25
26func GitHubReleaseBundle(t *testing.T) *bundle.Bundle {
27 b := &bundle.Bundle{}
28 err := b.UnmarshalJSON(GitHubReleaseBundleRaw)
29 if err != nil {
30 t.Fatalf("failed to unmarshal GitHub release bundle: %v", err)
31 }
32 return b
33}

Callers 5

Test_verifyRun_SuccessFunction · 0.92
VerifyAttestationMethod · 0.92

Calls

no outgoing calls

Tested by 3

Test_verifyRun_SuccessFunction · 0.74