getPrimaryDigest() — spring-boot Function Reference
Architecture documentation for the getPrimaryDigest() function in Image.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e716d5ad_3337_6c3a_f7c2_fd026b4b6b60["getPrimaryDigest()"] 6abc84de_9c70_4567_7b44_bb9872bc9a26["getDigest()"] e716d5ad_3337_6c3a_f7c2_fd026b4b6b60 -->|calls| 6abc84de_9c70_4567_7b44_bb9872bc9a26 d0595808_34f5_b84e_629e_09812a428eb8["of()"] e716d5ad_3337_6c3a_f7c2_fd026b4b6b60 -->|calls| d0595808_34f5_b84e_629e_09812a428eb8 style e716d5ad_3337_6c3a_f7c2_fd026b4b6b60 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/Image.java lines 150–163
public @Nullable String getPrimaryDigest() {
if (this.descriptor != null && StringUtils.hasText(this.descriptor.getDigest())) {
return this.descriptor.getDigest();
}
if (!CollectionUtils.isEmpty(this.digests)) {
try {
String digest = this.digests.get(0);
return (digest != null) ? ImageReference.of(digest).getDigest() : null;
}
catch (RuntimeException ex) {
}
}
return null;
}
Domain
Subdomains
Calls
- getDigest()
- of()
Source
Frequently Asked Questions
What does getPrimaryDigest() do?
getPrimaryDigest() is a function in the spring-boot codebase.
What does getPrimaryDigest() call?
getPrimaryDigest() calls 2 function(s): getDigest, of.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free