diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-01-20 20:45:34 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-01-20 20:57:44 +0000 |
commit | 5ee937523da63b26cc6dd264cc3cb2717321c5cd (patch) | |
tree | ecbdd43a9ce0284dd5409cc8a9603b66ccb5447a /src/libstore/local.mk | |
parent | a6ba313a0aac3b6e2fef434cb42d190a0849238e (diff) |
Add back `copyClosure` for plain `StorePath`s
This was removed in 2e199673a523fa81de31ffdd2a25976ce0814631 when
`copyPath` transitioned to use `RealisedPath`. But then in
e9848beca704d27a13e28b4403251725bd485bb2 we added it back just for
`realisedPath`.
I think it is a good utility function --- one can easily imagine it
becoming optimized in the future, and copying paths *violating* the
closure is a very niche feature.
So if we have `copyPaths` for both sorts of paths, I think we should
have `copyClosure` for both sorts too.
Diffstat (limited to 'src/libstore/local.mk')
0 files changed, 0 insertions, 0 deletions