Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
make-content-addressed.hh File Reference
#include "store-api.hh"

Go to the source code of this file.

Functions

std::map< StorePath, StorePathnix::makeContentAddressed (Store &srcStore, Store &dstStore, const StorePathSet &storePaths)
 
StorePath nix::makeContentAddressed (Store &srcStore, Store &dstStore, const StorePath &fromPath)
 

Function Documentation

◆ makeContentAddressed() [1/2]

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]

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

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