about summary refs log tree commit diff
path: root/tvix/eval/src/value/path.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-12-12T21·12+0300
committertazjin <tazjin@tvl.su>2022-12-21T22·59+0000
commit270b1084e890d2c69456d342e6e2cad7e13ad9a7 (patch)
tree9e870b0e2181454188276d02488fc722565a6a8e /tvix/eval/src/value/path.rs
parentedd13573f523a3a03346d6737081466bc9c5299d (diff)
feat(tvix/eval): use `EvalIO::import_path` when coercing paths r/5467
This "ties the knot" of importing files into a store when referring
to them through path literals, e.g. inside of strings.

I'm not yet sure if this interface is sufficient for
builtins.path (which we haven't implemented at all yet), but it's
enough to wire up eval & store initially.

In the default implementations nothing interesting happens in this
function at all.

Change-Id: Ie01ff4161617d1e743a68dbd1a5e54c1b40c0990
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7582
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/value/path.rs')
0 files changed, 0 insertions, 0 deletions