posixPermissionsToUmask() — spring-boot Function Reference
Architecture documentation for the posixPermissionsToUmask() function in FilePermissionsTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dcf228e9_0277_66f3_24b4_d8e2ce8caf94["posixPermissionsToUmask()"] ca36326c_d09c_4220_3815_566df371222d["posixPermissionsToUmaskWithEmptyPermissions()"] ca36326c_d09c_4220_3815_566df371222d -->|calls| dcf228e9_0277_66f3_24b4_d8e2ce8caf94 1a555b53_0e4d_9bfa_f73f_dfb687df7f68["posixPermissionsToUmaskWithNullPermissions()"] 1a555b53_0e4d_9bfa_f73f_dfb687df7f68 -->|calls| dcf228e9_0277_66f3_24b4_d8e2ce8caf94 style dcf228e9_0277_66f3_24b4_d8e2ce8caf94 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/io/FilePermissionsTests.java lines 81–85
@Test
void posixPermissionsToUmask() {
Set<PosixFilePermission> permissions = PosixFilePermissions.fromString("rwxrw-r--");
assertThat(FilePermissions.posixPermissionsToUmask(permissions)).isEqualTo(0764);
}
Domain
Subdomains
Called By
- posixPermissionsToUmaskWithEmptyPermissions()
- posixPermissionsToUmaskWithNullPermissions()
Source
Frequently Asked Questions
What does posixPermissionsToUmask() do?
posixPermissionsToUmask() is a function in the spring-boot codebase.
What calls posixPermissionsToUmask()?
posixPermissionsToUmask() is called by 2 function(s): posixPermissionsToUmaskWithEmptyPermissions, posixPermissionsToUmaskWithNullPermissions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free