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

Layer() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1ed02a34_7e65_ca96_0551_0c81871791b4["Layer()"]
  a57a8084_43f9_2805_9924_ecdd0d8514ef["fromTarArchive()"]
  a57a8084_43f9_2805_9924_ecdd0d8514ef -->|calls| 1ed02a34_7e65_ca96_0551_0c81871791b4
  d644bb3a_75cd_f440_d2e5_1711b897e317["of()"]
  1ed02a34_7e65_ca96_0551_0c81871791b4 -->|calls| d644bb3a_75cd_f440_d2e5_1711b897e317
  style 1ed02a34_7e65_ca96_0551_0c81871791b4 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/Layer.java lines 43–47

	Layer(TarArchive tarArchive) throws NoSuchAlgorithmException, IOException {
		MessageDigest digest = MessageDigest.getInstance("SHA-256");
		this.content = InspectedContent.of(tarArchive::writeTo, digest::update);
		this.id = LayerId.ofSha256Digest(digest.digest());
	}

Subdomains

Calls

Called By

Frequently Asked Questions

What does Layer() do?
Layer() is a function in the spring-boot codebase.
What does Layer() call?
Layer() calls 1 function(s): of.
What calls Layer()?
Layer() is called by 1 function(s): fromTarArchive.

Analyze Your Own Codebase

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

Try Supermodel Free