( moduleFullName bufparse.FullName, commitID uuid.UUID, getDigest func() (Digest, error), )
| 121 | } |
| 122 | |
| 123 | func newModuleKey( |
| 124 | moduleFullName bufparse.FullName, |
| 125 | commitID uuid.UUID, |
| 126 | getDigest func() (Digest, error), |
| 127 | ) (*moduleKey, error) { |
| 128 | if moduleFullName == nil { |
| 129 | return nil, errors.New("nil FullName when constructing ModuleKey") |
| 130 | } |
| 131 | if commitID == uuid.Nil { |
| 132 | return nil, errors.New("empty commitID when constructing ModuleKey") |
| 133 | } |
| 134 | return newModuleKeyNoValidate(moduleFullName, commitID, getDigest), nil |
| 135 | } |
| 136 | |
| 137 | func newModuleKeyNoValidate( |
| 138 | moduleFullName bufparse.FullName, |
no test coverage detected
searching dependent graphs…