mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
EvalCache: Store string contexts
This commit is contained in:
parent
b681408879
commit
50f13b06fb
6 changed files with 101 additions and 27 deletions
|
@ -333,7 +333,7 @@ string showType(const Value & v);
|
|||
|
||||
/* Decode a context string ‘!<name>!<path>’ into a pair <path,
|
||||
name>. */
|
||||
std::pair<string, string> decodeContext(const string & s);
|
||||
std::pair<string, string> decodeContext(std::string_view s);
|
||||
|
||||
/* If `path' refers to a directory, then append "/default.nix". */
|
||||
Path resolveExprPath(Path path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue