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

createTree() — spring-boot Function Reference

Architecture documentation for the createTree() function in LocationResourceLoaderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  d2428ef2_5684_c372_274a_5f9585b844e1["createTree()"]
  c81f5103_d314_5dd3_db2a_e56b9457b15a["getFileResourceReturnsResources()"]
  c81f5103_d314_5dd3_db2a_e56b9457b15a -->|calls| d2428ef2_5684_c372_274a_5f9585b844e1
  f3a46be1_3f7d_ab52_464b_91d14ab75913["getDirectoryResourceReturnsResources()"]
  f3a46be1_3f7d_ab52_464b_91d14ab75913 -->|calls| d2428ef2_5684_c372_274a_5f9585b844e1
  6a3df7d8_f6cc_bdff_4831_05733d51256e["getResourcesWhenHasHiddenDirectoriesFiltersResults()"]
  6a3df7d8_f6cc_bdff_4831_05733d51256e -->|calls| d2428ef2_5684_c372_274a_5f9585b844e1
  style d2428ef2_5684_c372_274a_5f9585b844e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/LocationResourceLoaderTests.java lines 142–149

	private void createTree() throws IOException {
		File directoryA = new File(this.temp, "a");
		File directoryB = new File(this.temp, "b");
		directoryA.mkdirs();
		directoryB.mkdirs();
		FileCopyUtils.copy("a".getBytes(), new File(directoryA, "file"));
		FileCopyUtils.copy("b".getBytes(), new File(directoryB, "file"));
	}

Domain

Subdomains

Called By

  • getDirectoryResourceReturnsResources()
  • getFileResourceReturnsResources()
  • getResourcesWhenHasHiddenDirectoriesFiltersResults()

Frequently Asked Questions

What does createTree() do?
createTree() is a function in the spring-boot codebase.
What calls createTree()?
createTree() is called by 3 function(s): getDirectoryResourceReturnsResources, getFileResourceReturnsResources, getResourcesWhenHasHiddenDirectoriesFiltersResults.

Analyze Your Own Codebase

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

Try Supermodel Free