#include "store-api.hh"
Go to the source code of this file.
Functions | |
std::map< StorePath, StorePath > | nix::makeContentAddressed (Store &srcStore, Store &dstStore, const StorePathSet &storePaths) |
StorePath | nix::makeContentAddressed (Store &srcStore, Store &dstStore, const StorePath &fromPath) |
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.