MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / github_url_to_api_recursive_tree_url

Function github_url_to_api_recursive_tree_url

src/network/UrlHelpers.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47std::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
55std::wstring github_file_url_to_download_url(std::wstring github_url, std::wstring_view branch_name) {
56 std::wstring_view url = github_url;

Callers 2

StringTests.cppFile · 0.85
update_file_listMethod · 0.85

Calls 1

to_github_base_urlFunction · 0.85

Tested by

no test coverage detected