Skip to content

Commit

Permalink
fix typo in opaque whiteout example
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Consroe <[email protected]>
  • Loading branch information
aconz2 committed Oct 30, 2024
1 parent 2717287 commit 1f72305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ a/b/c/
a/b/c/bar
```

When the next layer is created, the original `a/b` directory is deleted and recreated with `a/b/c/foo`:
When the next layer is created, the original `a/` directory is deleted and recreated with `a/b/c/foo`:

```text
a/
Expand All @@ -329,7 +329,7 @@ a/b/c/
a/b/c/foo
```

When processing the second layer, `a/.wh..wh..opq` is applied first, before creating the new version of `a/b`, regardless of the ordering in which the whiteout file was encountered.
When processing the second layer, `a/.wh..wh..opq` is applied first, before creating the new version of `a/`, regardless of the ordering in which the whiteout file was encountered.
For example, the following layer is equivalent to the layer above:

```text
Expand Down

0 comments on commit 1f72305

Please sign in to comment.