umaskForPath() — spring-boot Function Reference
Architecture documentation for the umaskForPath() function in FilePermissions.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0f157d1a_ef1d_7e56_be53_29f0da66ea11["umaskForPath()"] d71d679c_0daa_862c_234d_42a568618d70["writeDirectoryToTar()"] d71d679c_0daa_862c_234d_42a568618d70 -->|calls| 0f157d1a_ef1d_7e56_be53_29f0da66ea11 29594c92_e893_1229_a361_9c9d6f175588["posixPermissionsToUmask()"] 0f157d1a_ef1d_7e56_be53_29f0da66ea11 -->|calls| 29594c92_e893_1229_a361_9c9d6f175588 style 0f157d1a_ef1d_7e56_be53_29f0da66ea11 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io/FilePermissions.java lines 47–52
public static int umaskForPath(Path path) throws IOException {
Assert.notNull(path, "'path' must not be null");
PosixFileAttributeView attributeView = Files.getFileAttributeView(path, PosixFileAttributeView.class);
Assert.state(attributeView != null, "Unsupported file type for retrieving Posix attributes");
return posixPermissionsToUmask(attributeView.readAttributes().permissions());
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does umaskForPath() do?
umaskForPath() is a function in the spring-boot codebase.
What does umaskForPath() call?
umaskForPath() calls 1 function(s): posixPermissionsToUmask.
What calls umaskForPath()?
umaskForPath() is called by 1 function(s): writeDirectoryToTar.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free