mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Format
clang-format: 18.1.8 -> 19.1.7
This commit is contained in:
parent
c212035d94
commit
55297f865c
2 changed files with 8 additions and 6 deletions
|
@ -44,7 +44,8 @@ static void downloadToSink(
|
||||||
|
|
||||||
static std::string getLfsApiToken(const ParsedURL & url)
|
static std::string getLfsApiToken(const ParsedURL & url)
|
||||||
{
|
{
|
||||||
auto [status, output] = runProgram(RunOptions{
|
auto [status, output] = runProgram(
|
||||||
|
RunOptions{
|
||||||
.program = "ssh",
|
.program = "ssh",
|
||||||
.args = {*url.authority, "git-lfs-authenticate", url.path, "download"},
|
.args = {*url.authority, "git-lfs-authenticate", url.path, "download"},
|
||||||
});
|
});
|
||||||
|
|
|
@ -14,7 +14,8 @@ Gen<OutputsSpec> Arbitrary<OutputsSpec>::arbitrary()
|
||||||
return gen::just((OutputsSpec) OutputsSpec::All{});
|
return gen::just((OutputsSpec) OutputsSpec::All{});
|
||||||
case 1:
|
case 1:
|
||||||
return gen::map(
|
return gen::map(
|
||||||
gen::nonEmpty(gen::container<StringSet>(
|
gen::nonEmpty(
|
||||||
|
gen::container<StringSet>(
|
||||||
gen::map(gen::arbitrary<StorePathName>(), [](StorePathName n) { return n.name; }))),
|
gen::map(gen::arbitrary<StorePathName>(), [](StorePathName n) { return n.name; }))),
|
||||||
[](StringSet names) { return (OutputsSpec) OutputsSpec::Names{names}; });
|
[](StringSet names) { return (OutputsSpec) OutputsSpec::Names{names}; });
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue