forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce the number of stats performed when creating the output directo…
…ries. The Path.createDirectoryAndParents() function generally walks up the given output path, static for each path segment until it finds one that exists, the walks back down creating the directories. checkSymlinks does the same walk checking for symlinks along the way. Combining the two functions conserves ~half of the stats (more in reality as an in-memory cache is used). No functional changes intended. RELNOTES: None. PiperOrigin-RevId: 343821245
- Loading branch information
1 parent
549db25
commit 2217b52
Showing
1 changed file
with
23 additions
and
9 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