| 45 | |
| 46 | |
| 47 | std::wstring github_url_to_api_recursive_tree_url(std::wstring github_url, std::wstring_view branch_name) { |
| 48 | auto ret = to_github_base_url(std::move(github_url)); |
| 49 | ret += L"/git/trees/"; |
| 50 | ret += branch_name; |
| 51 | ret += L"?recursive=1"; |
| 52 | return ret; |
| 53 | } |
| 54 | |
| 55 | std::wstring github_file_url_to_download_url(std::wstring github_url, std::wstring_view branch_name) { |
| 56 | std::wstring_view url = github_url; |
no test coverage detected