Replace "folder" with "directory"

Consistently use the term "directory" instead of "folder"

Closes gh-21218
This commit is contained in:
Phillip Webb
2020-04-28 18:27:41 -07:00
parent ec871d6752
commit ad1248e4ec
98 changed files with 853 additions and 835 deletions

View File

@@ -89,7 +89,7 @@ Any dependencies that are required when running embedded but are not required wh
[[executable-jar-war-index-files]]
=== Index Files
Spring Boot Loader-compatible jar and war archives can include additional index files under the `BOOT-INF/` folder.
Spring Boot Loader-compatible jar and war archives can include additional index files under the `BOOT-INF/` directory.
A `classpath.idx` file can be provided for both jars and wars, it provides the ordering that jars should be added to the classpath.
The `layers.idx` file can be used only for jars, it allows a jar to be split into logical layers for Docker/OCI image creation.
@@ -101,7 +101,7 @@ These files, however, are _not_ parsed internally as YAML and they must be writt
[[executable-jar-war-index-files-classpath]]
=== Classpath Index
The classpath index file can be provided in `BOOT-INF/classpath.idx`.
It provides a list of jar names (not including the folder) in the order that they should be added to the classpath.
It provides a list of jar names (not including the directory) in the order that they should be added to the classpath.
Each line must start with dash space (`"-·"`) and names must be in double quotes.
For example, given the following jar:
@@ -136,9 +136,9 @@ The classpath index file can be provided in `BOOT-INF/layers.idx`.
It provides a list of layers and the parts of the jar that should be contained within them.
Layers are written in the order that they should be added to the Docker/OCI image.
Layers names are written as quoted strings prefixed with dash space (`"-·"`) and with a colon (`":"`) suffix.
Layer content is either a file or folder name written as a quoted string prefixed by space space dash space (`"··-·"`).
A folder name ends with `/`, a file name does not.
When a folder name is used it means that all files inside that folder are in the same layer.
Layer content is either a file or directory name written as a quoted string prefixed by space space dash space (`"··-·"`).
A directory name ends with `/`, a file name does not.
When a directory name is used it means that all files inside that directory are in the same layer.
A typical example of a layers index would be: