feat(tvix/store): add import::import_path

This imports the contents at a given Path into the tvix store.

It doesn't register the contents at a Path in the store itself, that's up
to the PathInfoService.

Change-Id: I2c493532d65b90f199ddb7dfc90249f5c2957dee
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8159
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-02-27 13:03:53 +01:00 committed by flokli
parent 52a5181eba
commit b29d1ae372
7 changed files with 392 additions and 0 deletions

View file

@ -5,6 +5,7 @@ mod errors;
pub mod blobservice;
pub mod chunkservice;
pub mod directoryservice;
pub mod import;
pub mod nar;
pub mod pathinfoservice;
pub mod proto;