getPath() — spring-boot Function Reference
Architecture documentation for the getPath() function in ApplicationTemp.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 81ec2a39_142f_c8da_ba59_f78d88ebf3ad["getPath()"] a9650f9d_9e14_c324_a00f_0fb4d5aadd61["getDir()"] a9650f9d_9e14_c324_a00f_0fb4d5aadd61 -->|calls| 81ec2a39_142f_c8da_ba59_f78d88ebf3ad 4ec78a43_4496_e91d_e223_0c927f3bba0f["generateHash()"] 81ec2a39_142f_c8da_ba59_f78d88ebf3ad -->|calls| 4ec78a43_4496_e91d_e223_0c927f3bba0f db7e4beb_903f_59dc_1c7d_9a2fd562d334["createDirectory()"] 81ec2a39_142f_c8da_ba59_f78d88ebf3ad -->|calls| db7e4beb_903f_59dc_1c7d_9a2fd562d334 f5cca3fa_f29d_e50c_c6f3_f48104da7a40["getTempDirectory()"] 81ec2a39_142f_c8da_ba59_f78d88ebf3ad -->|calls| f5cca3fa_f29d_e50c_c6f3_f48104da7a40 style 81ec2a39_142f_c8da_ba59_f78d88ebf3ad fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/system/ApplicationTemp.java lines 98–114
private Path getPath() {
if (this.path == null) {
this.pathLock.lock();
try {
if (this.path == null) {
String hash = HexFormat.of().withUpperCase().formatHex(generateHash(this.sourceClass));
this.path = createDirectory(getTempDirectory().resolve(hash));
}
}
finally {
this.pathLock.unlock();
}
}
Path path = this.path;
Assert.state(path != null, "'path' must not be null");
return path;
}
Domain
Subdomains
Calls
- createDirectory()
- generateHash()
- getTempDirectory()
Called By
Source
Frequently Asked Questions
What does getPath() do?
getPath() is a function in the spring-boot codebase.
What does getPath() call?
getPath() calls 3 function(s): createDirectory, generateHash, getTempDirectory.
What calls getPath()?
getPath() is called by 1 function(s): getDir.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free