Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
fetch-to-store.hh File Reference

Go to the source code of this file.

Functions

kj::Promise< Result< StorePath > > nix::fetchToStoreFlat (Store &store, const CheckedSourcePath &path, std::string_view name, RepairFlag repair)
kj::Promise< Result< StorePath > > nix::fetchToStoreRecursive (Store &store, const PreparedDump &contents, std::string_view name, RepairFlag repair)

Function Documentation

◆ fetchToStoreFlat()

kj::Promise< Result< StorePath > > nix::fetchToStoreFlat ( Store & store,
const CheckedSourcePath & path,
std::string_view name = "source",
RepairFlag repair = NoRepair )

Copy the path to the Nix store.