copy() — spring-boot Function Reference
Architecture documentation for the copy() function in ZipFileTarArchive.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 62818eac_888b_5a0b_ff20_9c2b3ed77e0d["copy()"] 71b7c740_d34a_93d3_f2f7_6373ca7eaf67["writeTo()"] 71b7c740_d34a_93d3_f2f7_6373ca7eaf67 -->|calls| 62818eac_888b_5a0b_ff20_9c2b3ed77e0d 4f63b648_7edd_9d0e_c127_53957c449a74["convert()"] 62818eac_888b_5a0b_ff20_9c2b3ed77e0d -->|calls| 4f63b648_7edd_9d0e_c127_53957c449a74 style 62818eac_888b_5a0b_ff20_9c2b3ed77e0d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io/ZipFileTarArchive.java lines 86–93
private void copy(ZipArchiveEntry zipEntry, InputStream zip, TarArchiveOutputStream tar) throws IOException {
TarArchiveEntry tarEntry = convert(zipEntry);
tar.putArchiveEntry(tarEntry);
if (tarEntry.isFile()) {
StreamUtils.copyRange(zip, tar, 0, tarEntry.getSize());
}
tar.closeArchiveEntry();
}
Domain
Subdomains
Calls
- convert()
Called By
- writeTo()
Source
Frequently Asked Questions
What does copy() do?
copy() is a function in the spring-boot codebase.
What does copy() call?
copy() calls 1 function(s): convert.
What calls copy()?
copy() is called by 1 function(s): writeTo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free