Home / Function/ tarGzipBuildpackContent() — spring-boot Function Reference

tarGzipBuildpackContent() — spring-boot Function Reference

Architecture documentation for the tarGzipBuildpackContent() function in BootBuildImageIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1de3ccb0_70de_947d_c157_6c4cd2d1ff2b["tarGzipBuildpackContent()"]
  606662c0_6bc0_19e8_fd7a_55751c6386f3["buildsImageWithBuildpackFromTarGzip()"]
  606662c0_6bc0_19e8_fd7a_55751c6386f3 -->|calls| 1de3ccb0_70de_947d_c157_6c4cd2d1ff2b
  d71d679c_0daa_862c_234d_42a568618d70["writeDirectoryToTar()"]
  1de3ccb0_70de_947d_c157_6c4cd2d1ff2b -->|calls| d71d679c_0daa_862c_234d_42a568618d70
  style 1de3ccb0_70de_947d_c157_6c4cd2d1ff2b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/dockerTest/java/org/springframework/boot/gradle/tasks/bundling/BootBuildImageIntegrationTests.java lines 653–660

	private void tarGzipBuildpackContent() throws IOException {
		Path tarGzipPath = Paths.get(this.gradleBuild.getProjectDir().getAbsolutePath(), "hello-world.tgz");
		try (TarArchiveOutputStream tar = new TarArchiveOutputStream(
				new GzipCompressorOutputStream(Files.newOutputStream(Files.createFile(tarGzipPath))))) {
			File buildpackDir = new File(this.gradleBuild.getProjectDir(), "buildpack/hello-world");
			writeDirectoryToTar(tar, buildpackDir, buildpackDir.getAbsolutePath());
		}
	}

Subdomains

Frequently Asked Questions

What does tarGzipBuildpackContent() do?
tarGzipBuildpackContent() is a function in the spring-boot codebase.
What does tarGzipBuildpackContent() call?
tarGzipBuildpackContent() calls 1 function(s): writeDirectoryToTar.
What calls tarGzipBuildpackContent()?
tarGzipBuildpackContent() is called by 1 function(s): buildsImageWithBuildpackFromTarGzip.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free