diff options
author | pennae <github@quasiparticle.net> | 2022-01-21 16:20:54 +0100 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-01-27 22:15:30 +0100 |
commit | d439dceb3bc47f10a6f1f5b8cf4a5b17adc80071 (patch) | |
tree | a856e03791017e24325813c8f48825f4bb827c80 /src/libstore/local-store.hh | |
parent | 41d70a2fc8d243d8c83ecc1c9ba648b625957437 (diff) |
optionally return string_view from coerceToString
we'll retain the old coerceToString interface that returns a string, but callers
that don't need the returned value to outlive the Value it came from can save
copies by using the new interface instead. for values that weren't stringy we'll
pass a new buffer argument that'll be used for storage and shouldn't be
inspected.
Diffstat (limited to 'src/libstore/local-store.hh')
0 files changed, 0 insertions, 0 deletions