( ctx context.Context, bucketWithStorageMatcherApplied storage.ReadBucket, moduleDeps []ModuleDep, )
| 284 | } |
| 285 | |
| 286 | func getB5DigestForBucketAndModuleDeps( |
| 287 | ctx context.Context, |
| 288 | bucketWithStorageMatcherApplied storage.ReadBucket, |
| 289 | moduleDeps []ModuleDep, |
| 290 | ) (Digest, error) { |
| 291 | depDigests, err := xslices.MapError( |
| 292 | moduleDeps, |
| 293 | func(moduleDep ModuleDep) (Digest, error) { |
| 294 | return moduleDep.Digest(DigestTypeB5) |
| 295 | }, |
| 296 | ) |
| 297 | if err != nil { |
| 298 | return nil, err |
| 299 | } |
| 300 | return getB5DigestForBucketAndDepDigests(ctx, bucketWithStorageMatcherApplied, depDigests) |
| 301 | } |
| 302 | |
| 303 | func getB5DigestForBucketAndDepModuleKeys( |
| 304 | ctx context.Context, |
no test coverage detected
searching dependent graphs…