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

createDirectory() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  db7e4beb_903f_59dc_1c7d_9a2fd562d334["createDirectory()"]
  a9650f9d_9e14_c324_a00f_0fb4d5aadd61["getDir()"]
  a9650f9d_9e14_c324_a00f_0fb4d5aadd61 -->|calls| db7e4beb_903f_59dc_1c7d_9a2fd562d334
  81ec2a39_142f_c8da_ba59_f78d88ebf3ad["getPath()"]
  81ec2a39_142f_c8da_ba59_f78d88ebf3ad -->|calls| db7e4beb_903f_59dc_1c7d_9a2fd562d334
  54bc84ee_89fc_ebcc_688a_4deca15e266b["getFileAttributes()"]
  db7e4beb_903f_59dc_1c7d_9a2fd562d334 -->|calls| 54bc84ee_89fc_ebcc_688a_4deca15e266b
  style db7e4beb_903f_59dc_1c7d_9a2fd562d334 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/system/ApplicationTemp.java lines 116–126

	private Path createDirectory(Path path) {
		try {
			if (!Files.exists(path)) {
				Files.createDirectory(path, getFileAttributes(path.getFileSystem(), DIRECTORY_PERMISSIONS));
			}
			return path;
		}
		catch (IOException ex) {
			throw new IllegalStateException("Unable to create application temp directory " + path, ex);
		}
	}

Domain

Subdomains

Calls

  • getFileAttributes()

Called By

Frequently Asked Questions

What does createDirectory() do?
createDirectory() is a function in the spring-boot codebase.
What does createDirectory() call?
createDirectory() calls 1 function(s): getFileAttributes.
What calls createDirectory()?
createDirectory() is called by 2 function(s): getDir, getPath.

Analyze Your Own Codebase

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

Try Supermodel Free