-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contenthash: implement proper Linux symlink semantics for needsScan
This patch is part of a series which fixes the symlink resolution semantics within BuildKit. Since we now have a working implementation of symlink resolution in getFollowLinks, we can add a callback after each component is resolved so that we can track which components were and were not found during the resolution. Because getFollowLinks resolves the components in-order, we can use this to tell needsScan whether the resolver found a real (non-symlink) ancestor of the requested path in the cache. Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information
Showing
1 changed file
with
47 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters