This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue: prepare API implementation for structure sharing
The CUE API relies on the Parent field to reflect the path down which the user descended to obtain the value. With structure sharing, this means this parent field may vary by context. This now adds another field to Value, which keeps track of a differing parent Value chain. The field only needs to be set in the case of actual structure sharing. Change-Id: Ia03de7d249ce72e72104740ce649827e7b07f2ad Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9572 Reviewed-by: CUE cueckoo <[email protected]> Reviewed-by: Marcel van Lohuizen <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
Showing
6 changed files
with
141 additions
and
61 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
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
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
Oops, something went wrong.