@@ -426,7 +426,7 @@ struct GitHubInputScheme : GitArchiveInputScheme
426426 return DownloadUrl{parseURL (url), headers};
427427 }
428428
429- void clone (const Settings & settings, const Input & input, const Path & destDir) const override
429+ void clone (const Settings & settings, const Input & input, const std::filesystem::path & destDir) const override
430430 {
431431 auto host = getHost (input);
432432 Input::fromURL (settings, fmt (" git+https://%s/%s/%s.git" , host, getOwner (input), getRepo (input)))
@@ -507,7 +507,7 @@ struct GitLabInputScheme : GitArchiveInputScheme
507507 return DownloadUrl{parseURL (url), headers};
508508 }
509509
510- void clone (const Settings & settings, const Input & input, const Path & destDir) const override
510+ void clone (const Settings & settings, const Input & input, const std::filesystem::path & destDir) const override
511511 {
512512 auto host = maybeGetStrAttr (input.attrs , " host" ).value_or (" gitlab.com" );
513513 // FIXME: get username somewhere
@@ -596,7 +596,7 @@ struct SourceHutInputScheme : GitArchiveInputScheme
596596 return DownloadUrl{parseURL (url), headers};
597597 }
598598
599- void clone (const Settings & settings, const Input & input, const Path & destDir) const override
599+ void clone (const Settings & settings, const Input & input, const std::filesystem::path & destDir) const override
600600 {
601601 auto host = maybeGetStrAttr (input.attrs , " host" ).value_or (" git.sr.ht" );
602602 Input::fromURL (
0 commit comments