MCPcopy Create free account
hub / github.com/apache/mesos / foreach

Function foreach

src/oci/spec.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 foreach (const ManifestDescriptor& manifest, index.manifests()) {
55 Option<Error> error = validateDigest(manifest.digest());
56 if (error.isSome()) {
57 return Error(
58 "Failed to validate 'digest' of the 'manifest': " + error->message);
59 }
60 }
61
62 return None();
63}

Callers

nothing calls this directly

Calls 8

validateDigestFunction · 0.85
errorMethod · 0.65
ErrorFunction · 0.50
isSomeMethod · 0.45
isErrorMethod · 0.45
isNoneMethod · 0.45
getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected