NewRegistryCommitID returns a new RegistryCommitID.
(registry string, commitID uuid.UUID)
| 26 | |
| 27 | // NewRegistryCommitID returns a new RegistryCommitID. |
| 28 | func NewRegistryCommitID(registry string, commitID uuid.UUID) RegistryCommitID { |
| 29 | return RegistryCommitID{ |
| 30 | Registry: registry, |
| 31 | CommitID: commitID, |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | // ModuleKeyToRegistryCommitID converts the ModuleKey to a RegistryCommitID. |
| 36 | func ModuleKeyToRegistryCommitID(moduleKey ModuleKey) RegistryCommitID { |
no outgoing calls
no test coverage detected
searching dependent graphs…