MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / GetCacheLocal

Method GetCacheLocal

src/FTPProfile.cpp:558–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558int FTPProfile::GetCacheLocal(const char * externalfile, TCHAR* localbuffer, int localbuffersize) const {
559 if (!localbuffer || localbuffersize == 0)
560 return -1;
561
562 return m_cache->GetLocalPathFromExternal(externalfile, localbuffer, localbuffersize);
563}
564
565FTPCache* FTPProfile::GetCache() const {
566 return m_cache;

Callers 1

DownloadFileCacheMethod · 0.80

Calls 1

Tested by

no test coverage detected