Module tvix_store::import
source · Functions§
- Takes the NAR size, SHA-256 of the NAR representation, the root node and optionally a CA hash information.
- Ingest the contents at the given path
path
into castore, and registers the resulting root node in the passed PathInfoService, using the “NAR sha256 digest” and the passed name for output path calculation. - Transform a path into its base name and returns an
std::io::Error
if it is..
or if the basename is not valid unicode.