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

prepareEntry() — spring-boot Function Reference

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

Function java Archiving LauncherConfig calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  c932170b_4a25_ba87_8320_28cc6fb2321d["prepareEntry()"]
  85c832ce_008b_1299_8584_bff397a1ac11["processDirectory()"]
  85c832ce_008b_1299_8584_bff397a1ac11 -->|calls| c932170b_4a25_ba87_8320_28cc6fb2321d
  5e30db0f_a50d_57a1_482a_28795acd5257["processFile()"]
  5e30db0f_a50d_57a1_482a_28795acd5257 -->|calls| c932170b_4a25_ba87_8320_28cc6fb2321d
  3fe26236_3b5b_ef4d_f893_94fc7fd9423c["writeParentDirectoriesIfNecessary()"]
  3fe26236_3b5b_ef4d_f893_94fc7fd9423c -->|calls| c932170b_4a25_ba87_8320_28cc6fb2321d
  e16da5d1_b19e_4d45_229b_91569861926e["writeEntry()"]
  e16da5d1_b19e_4d45_229b_91569861926e -->|calls| c932170b_4a25_ba87_8320_28cc6fb2321d
  3fe26236_3b5b_ef4d_f893_94fc7fd9423c["writeParentDirectoriesIfNecessary()"]
  c932170b_4a25_ba87_8320_28cc6fb2321d -->|calls| 3fe26236_3b5b_ef4d_f893_94fc7fd9423c
  style c932170b_4a25_ba87_8320_28cc6fb2321d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootZipCopyAction.java lines 423–430

		private void prepareEntry(ZipArchiveEntry entry, String name, @Nullable Long time, int mode)
				throws IOException {
			writeParentDirectoriesIfNecessary(name, time);
			entry.setUnixMode(mode);
			if (time != null) {
				entry.setTime(DefaultTimeZoneOffset.INSTANCE.removeFrom(time));
			}
		}

Domain

Subdomains

Frequently Asked Questions

What does prepareEntry() do?
prepareEntry() is a function in the spring-boot codebase.
What does prepareEntry() call?
prepareEntry() calls 1 function(s): writeParentDirectoriesIfNecessary.
What calls prepareEntry()?
prepareEntry() is called by 4 function(s): processDirectory, processFile, writeEntry, writeParentDirectoriesIfNecessary.

Analyze Your Own Codebase

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

Try Supermodel Free