Skip to content

Commit ef74488

Browse files
committed
style: comment about where to find more oci image details if we need them
1 parent 1209388 commit ef74488

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/synopsys/integration/blackduck/imageinspector/image/oci/OciImageDirectoryExtractor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ public FullLayerMapping getLayerMapping(final File imageDir, @Nullable String gi
9191

9292
OciImageManifest imageManifest = gson.fromJson(manifestFileText, OciImageManifest.class);
9393

94-
94+
// If we ever need more detail (os/architecture, history, cmd, etc):
95+
// imageManifest.config.digest has the filename (in the blobs dir) of the file that has that detail
9596
String pathToImageConfigFileFromRoot = findImageConfigFilePath(imageManifest);
9697
List<String> layerInternalIds = imageManifest.getLayers().stream()
9798
.map(OciDescriptor::getDigest)

0 commit comments

Comments
 (0)