mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
Add 'nix store prefetch-{file,tarball}'
These replace nix-prefetch-url and nix-prefetch-url --unpack, respectively.
This commit is contained in:
parent
0df69d96e0
commit
0813350349
6 changed files with 416 additions and 234 deletions
|
@ -63,7 +63,7 @@ struct FileTransferRequest
|
|||
std::string mimeType;
|
||||
std::function<void(std::string_view data)> dataCallback;
|
||||
|
||||
FileTransferRequest(const std::string & uri)
|
||||
FileTransferRequest(std::string_view uri)
|
||||
: uri(uri), parentAct(getCurActivity()) { }
|
||||
|
||||
std::string verb()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue