-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RepositoryResolvedEvent: be lazy about computing the directory hash
The RepositoryResolvedEvent is generated each time a respository was succesfully fetched. However, not in all bazel invocations, the resolved object is actually used (as not in all cases a resolved file is written). Therefore, delay the expensive part of this operation, the computation of the hash of the generated directory, till it is needed for the first time. Closes #10147 Change-Id: I9cd9576d75ac8d6aa57ff8f9572417ace14b385a PiperOrigin-RevId: 289449062
- Loading branch information
Luca Di Grazia
committed
Sep 4, 2022
1 parent
0fc5096
commit cd311ce
Showing
1 changed file
with
6 additions
and
52 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