mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Create some type aliases for string Contexts
This commit is contained in:
parent
d5322698a2
commit
91adfb8894
6 changed files with 10 additions and 8 deletions
|
@ -430,7 +430,7 @@ std::string showType(const Value & v);
|
|||
|
||||
/* Decode a context string ‘!<name>!<path>’ into a pair <path,
|
||||
name>. */
|
||||
std::pair<std::string, std::string> decodeContext(std::string_view s);
|
||||
NixStringContextElem 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