diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-09-12 15:37:09 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-12-12 14:05:35 +0100 |
commit | ae5f62a894190e0075eb60ae4537ba81ca2a0a8d (patch) | |
tree | d6b3d856a8c7b6e4e32d54b3f1c3f0cc5b2d2d3c /src/libstore/filetransfer.hh | |
parent | 7396844676651ea8ee017b9c7578581c5885e0f9 (diff) |
Move isUri() and resolveUri() out of filetransfer.cc
These are purely related to NIX_PATH / -I command line parsing, so put
them in libexpr.
Diffstat (limited to 'src/libstore/filetransfer.hh')
-rw-r--r-- | src/libstore/filetransfer.hh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstore/filetransfer.hh b/src/libstore/filetransfer.hh index 40e7cf52c..07d58f53a 100644 --- a/src/libstore/filetransfer.hh +++ b/src/libstore/filetransfer.hh @@ -125,9 +125,4 @@ public: FileTransferError(FileTransfer::Error error, std::optional<std::string> response, const Args & ... args); }; -bool isUri(std::string_view s); - -/* Resolve deprecated 'channel:<foo>' URLs. */ -std::string resolveUri(std::string_view uri); - } |