exportLayers() — spring-boot Function Reference
Architecture documentation for the exportLayers() function in ExportedImageTar.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD ca290566_4c73_5f59_d86b_95f9b719d1a5["exportLayers()"] 8d709dfe_a2af_b53b_88aa_92785c0109e7["openTar()"] ca290566_4c73_5f59_d86b_95f9b719d1a5 -->|calls| 8d709dfe_a2af_b53b_88aa_92785c0109e7 b3171812_ab1f_87c4_a83a_2a91e929e461["getName()"] ca290566_4c73_5f59_d86b_95f9b719d1a5 -->|calls| b3171812_ab1f_87c4_a83a_2a91e929e461 e4b27ead_8f1f_5c9b_bf7f_40d8de6f7df0["getLayerArchive()"] ca290566_4c73_5f59_d86b_95f9b719d1a5 -->|calls| e4b27ead_8f1f_5c9b_bf7f_40d8de6f7df0 style ca290566_4c73_5f59_d86b_95f9b719d1a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java lines 71–82
void exportLayers(IOBiConsumer<String, TarArchive> exports) throws IOException {
try (TarArchiveInputStream tar = openTar(this.tarFile)) {
TarArchiveEntry entry = tar.getNextEntry();
while (entry != null) {
TarArchive layerArchive = this.layerArchiveFactory.getLayerArchive(tar, entry);
if (layerArchive != null) {
exports.accept(entry.getName(), layerArchive);
}
entry = tar.getNextEntry();
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does exportLayers() do?
exportLayers() is a function in the spring-boot codebase.
What does exportLayers() call?
exportLayers() calls 3 function(s): getLayerArchive, getName, openTar.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free