writeLayers() — spring-boot Function Reference
Architecture documentation for the writeLayers() function in ImageArchive.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD f0e6a5b5_3331_adbe_b54c_5999ad65b659["writeLayers()"] e4323026_a089_9ff3_39c2_cc5d4a910178["write()"] e4323026_a089_9ff3_39c2_cc5d4a910178 -->|calls| f0e6a5b5_3331_adbe_b54c_5999ad65b659 2436cdd6_dab0_417f_e110_a3223e8ab556["size()"] f0e6a5b5_3331_adbe_b54c_5999ad65b659 -->|calls| 2436cdd6_dab0_417f_e110_a3223e8ab556 417112a7_2790_c468_b710_48d5d34ac068["writeEmptyLayer()"] f0e6a5b5_3331_adbe_b54c_5999ad65b659 -->|calls| 417112a7_2790_c468_b710_48d5d34ac068 521c84b1_e500_0d4e_9696_4942ca8d7fac["writeLayer()"] f0e6a5b5_3331_adbe_b54c_5999ad65b659 -->|calls| 521c84b1_e500_0d4e_9696_4942ca8d7fac style f0e6a5b5_3331_adbe_b54c_5999ad65b659 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/ImageArchive.java lines 137–146
private List<LayerId> writeLayers(Layout writer) throws IOException {
for (int i = 0; i < this.existingLayers.size(); i++) {
writeEmptyLayer(writer, EMPTY_LAYER_NAME_PREFIX + i);
}
List<LayerId> writtenLayers = new ArrayList<>();
for (Layer layer : this.newLayers) {
writtenLayers.add(writeLayer(writer, layer));
}
return Collections.unmodifiableList(writtenLayers);
}
Domain
Subdomains
Calls
- size()
- writeEmptyLayer()
- writeLayer()
Called By
Source
Frequently Asked Questions
What does writeLayers() do?
writeLayers() is a function in the spring-boot codebase.
What does writeLayers() call?
writeLayers() calls 3 function(s): size, writeEmptyLayer, writeLayer.
What calls writeLayers()?
writeLayers() is called by 1 function(s): write.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free