Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
make-content-addressed.hh File Reference
Include dependency graph for make-content-addressed.hh:

Go to the source code of this file.

Functions

kj::Promise< Result< std::map< StorePath, StorePath > > > nix::makeContentAddressed (Store &srcStore, Store &dstStore, const StorePathSet &storePaths)
 
kj::Promise< Result< StorePath > > nix::makeContentAddressed (Store &srcStore, Store &dstStore, const StorePath &fromPath)
 

Function Documentation

◆ makeContentAddressed() [1/2]

kj::Promise< Result< StorePath > > nix::makeContentAddressed ( Store & srcStore,
Store & dstStore,
const StorePath & rootPath )

Rewrite a closure of a store path to be completely content addressed.

This is a convenience function for the case where you only have one root path.

◆ makeContentAddressed() [2/2]

kj::Promise< Result< std::map< StorePath, StorePath > > > nix::makeContentAddressed ( Store & srcStore,
Store & dstStore,
const StorePathSet & rootPaths )

Rewrite a closure of store paths to be completely content addressed.