NewCommitKey returns a new CommitKey.
( registry string, commitID uuid.UUID, digestType DigestType, )
| 52 | |
| 53 | // NewCommitKey returns a new CommitKey. |
| 54 | func NewCommitKey( |
| 55 | registry string, |
| 56 | commitID uuid.UUID, |
| 57 | digestType DigestType, |
| 58 | ) (CommitKey, error) { |
| 59 | return newCommitKey( |
| 60 | registry, |
| 61 | commitID, |
| 62 | digestType, |
| 63 | ) |
| 64 | } |
| 65 | |
| 66 | // UniqueDigestTypeForCommitKeys returns the single DigestType for the Digests on the CommitKeys. |
| 67 | // |
no test coverage detected
searching dependent graphs…