about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-10T12·49+0300
committertazjin <tazjin@tvl.su>2022-08-14T00·24+0000
commit52736a1dbcedcab12e13ccf8a0d02a4b0db57cb1 (patch)
treefb2fcafeabfd2c2757f67abb3dc41c8bf0ab3b48 /nix
parent295d6e1d597c491f4bab3cf13c398814588eef49 (diff)
refactor(tvix/rm): introduce helper for AttrSet Entry API r/4443
There are multiple points where an insertion needs to be done into an
attribute set, but copying the key or checking for presence before
insertion should be avoided

As that is a little bit noisy, it's been factored out into a helper
function in this commit.

Change-Id: Ibcb054ebeb25a1236c06c812f47c8e74180d4fc9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6107
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions