feat(tvix/eval): Support builtins.readDir
Co-authored-by: Griffin Smith <root@gws.fyi> Change-Id: I5ff19efbe87d8f571f22ab0480500505afa624c5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6552 Autosubmit: wpcarro <wpcarro@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
899fbdbddb
commit
41ddc37725
7 changed files with 73 additions and 2 deletions
1
tvix/eval/src/tests/tvix_tests/eval-okay-readDir.exp
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-readDir.exp
Normal file
|
@ -0,0 +1 @@
|
|||
{ bar = "regular"; foo = "directory"; }
|
1
tvix/eval/src/tests/tvix_tests/eval-okay-readDir.nix
Normal file
1
tvix/eval/src/tests/tvix_tests/eval-okay-readDir.nix
Normal file
|
@ -0,0 +1 @@
|
|||
builtins.readDir ./readDir
|
0
tvix/eval/src/tests/tvix_tests/readDir/bar
Normal file
0
tvix/eval/src/tests/tvix_tests/readDir/bar
Normal file
0
tvix/eval/src/tests/tvix_tests/readDir/foo/.keep
Normal file
0
tvix/eval/src/tests/tvix_tests/readDir/foo/.keep
Normal file
Loading…
Add table
Add a link
Reference in a new issue