tvl-depot/tvix/docs/src
Florian Klink 6a116d5057 refactor(tvix/glue/register_in_path_info_service): return only PathInfo
The store path is already contained in the PathInfo, and the ca bits is
already passed into the function, so known to the caller - there's no
need to duplicate this.

We can also avoid having two separate block_on in our import builtin -
we already know the content hash before constructing, as we pass it in
via ca_hash.

There's still some room to unclutter some more of the code around
importing - we still do NAR calculation twice in some cases, and some of
the code might be share-able from other places producing PathInfo too.
Log a TODO for this cleanup.

Change-Id: I6a5fc427d15bc9293a396310143c7694dd2996c0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12592
Reviewed-by: Marijan Petričević <marijan.petricevic94@gmail.com>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-10-11 17:19:12 +00:00
..
build docs(tvix): document the builder API 2024-07-21 21:35:22 +00:00
castore docs(tvix/*store): add some internal links 2024-06-15 03:56:11 +00:00
contributing docs(tvix/contributing): remove reference to b/201 2024-09-03 15:17:30 +00:00
eval docs(tvix): use # for toplevel headings 2024-06-26 14:22:19 +00:00
figures feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
nix-daemon docs: More documentation of nix daemon protocol 2024-07-20 15:33:04 +00:00
store chore(tvix): drop nar-bridge-go 2024-07-30 14:36:31 +00:00
architecture.md feat(tvix/docs): add mdbook-admonish 2024-06-14 07:04:23 +00:00
community.md docs(tvix): introduction 2024-07-04 14:18:09 +00:00
getting-started.md docs(tvix): create Welcome + Contributing sections 2024-06-27 07:16:23 +00:00
introduction.md docs(tvix): introduction 2024-07-04 14:18:09 +00:00
lang-version.md feat(tvix/docs): switch to mdbook 2024-03-03 16:52:38 +00:00
language-spec.md docs: use admonish for callouts 2024-06-21 08:08:17 +00:00
SUMMARY.md docs(tvix): document the builder API 2024-07-21 21:35:22 +00:00
TODO.md refactor(tvix/glue/register_in_path_info_service): return only PathInfo 2024-10-11 17:19:12 +00:00
value-pointer-equality.md docs: use admonish for callouts 2024-06-21 08:08:17 +00:00