MCPcopy Create free account
hub / github.com/docker/cli / clearChangeList

Function clearChangeList

cmd/docker-trust/trust/helpers.go:32–38  ·  view source on GitHub ↗

clearChangeList clears the notary staging changelist.

(notaryRepo client.Repository)

Source from the content-addressed store, hash-verified

30
31// clearChangeList clears the notary staging changelist.
32func clearChangeList(notaryRepo client.Repository) error {
33 cl, err := notaryRepo.GetChangelist()
34 if err != nil {
35 return err
36 }
37 return cl.Clear("")
38}
39
40// getOrGenerateRootKeyAndInitRepo initializes the notary repository
41// with a remotely managed snapshot key. The initialization will use

Callers 3

revokeTrustFunction · 0.85
runSignImageFunction · 0.85
lookupTrustInfoFunction · 0.85

Calls 1

GetChangelistMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…