MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / GetPath

Method GetPath

NetStream/source/browsers/ftp_server_browser.cpp:94–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94string FtpServerBrowser::GetPath()
95{
96 string ret;
97 char *path;
98 curl_url_get(m_url, CURLUPART_URL, &path, 0);
99 if (path)
100 {
101 char *decoded = curl_easy_unescape(m_curl, path, 0, NULL);
102 ret = decoded;
103 curl_free(decoded);
104 curl_free(path);
105 }
106
107 return ret;
108}
109
110void FtpServerBrowser::GetInfoForPlayer(string const& in, string& url, GenericPlayer::Option **opt)
111{

Callers 2

GoToMethod · 0.45
PopBrowserPageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected