MCPcopy Create free account
hub / github.com/audacity/audacity / GetProjectPagePath

Method GetProjectPagePath

libraries/lib-cloud-audiocom/ServiceConfig.cpp:420–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420std::string ServiceConfig::GetProjectPagePath(
421 std::string_view userSlug, std::string_view projectSlug,
422 AudiocomTrace trace) const
423{
424 return Substitute(
425 "/{user_slug}/projects/{project_slug}?" MTM_CAMPAIGN,
426 {
427 { "user_slug", userSlug },
428 { "project_slug", projectSlug },
429 { "version_number", audacity::ToUTF8(AUDACITY_VERSION_STRING) },
430 { "button_name", GetButtonName(trace) },
431 });
432}
433
434std::string ServiceConfig::GetProjectsPagePath(
435 std::string_view userSlug, AudiocomTrace trace) const

Callers 2

GetCloudProjectPageMethod · 0.80
GetSelectedProjectUrlMethod · 0.80

Calls 3

SubstituteFunction · 0.85
ToUTF8Function · 0.85
GetButtonNameFunction · 0.85

Tested by

no test coverage detected