tvl-depot/tvix/docs
Florian Klink 78eb22c54d feat(tvix/glue): handle regular file at builtins.path import
If builtins.path is passed a regular file, no filtering is applied.
We use the just-introduced file_type function in the EvalIO trait for
that.

This means, we don't need to pass through filtered_ingest, and can
assemble the FileNode directly in that specific match case.

This also means, we can explicitly calculate the sha256 flat digest,
and avoid having to pipe through the file contents again (via
blob_to_sha256_hash) to construct the sha256 digest.

Change-Id: I500b19dd9e4b7cc897d88b44547e7851559e5a4e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11872
Tested-by: BuildkiteCI
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-06-26 04:51:31 +00:00
..
src feat(tvix/glue): handle regular file at builtins.path import 2024-06-26 04:51:31 +00:00
theme feat(tvix/docs): ship custom highlight.js with Nix support 2024-03-03 16:53:16 +00:00
.gitignore feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
book.toml feat(tvix/docs): add d2 support 2024-06-14 07:04:23 +00:00
default.nix feat(tvix/docs): add d2 support 2024-06-14 07:04:23 +00:00
mdbook-admonish.css feat(tvix/docs): add mdbook-admonish 2024-06-14 07:04:23 +00:00