mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Extract and expose splitUriAndParams function
which splits a URL into localtor and parameter parts
This commit is contained in:
parent
6bfb082ea2
commit
07f992a74b
2 changed files with 16 additions and 4 deletions
|
@ -798,4 +798,8 @@ ValidPathInfo decodeValidPathInfo(std::istream & str,
|
|||
for paths created by makeFixedOutputPath() / addToStore(). */
|
||||
std::string makeFixedOutputCA(bool recursive, const Hash & hash);
|
||||
|
||||
|
||||
/* Split URI into protocol+hierarchy part and its parameter set. */
|
||||
std::pair<std::string, Store::Params> splitUriAndParams(const std::string & uri);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue