MCPcopy Create free account
hub / github.com/NixOS/nix / allowAndSetStorePathString

Method allowAndSetStorePathString

src/libexpr/eval.cc:390–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void EvalState::allowAndSetStorePathString(const StorePath & storePath, Value & v)
391{
392 allowPath(storePath);
393
394 mkStorePathString(storePath, v);
395}
396
397inline static bool isJustSchemePrefix(std::string_view prefix)
398{

Callers 3

prim_toFileFunction · 0.80
addPathFunction · 0.80
fetchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected