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

Method GetCacheExternal

src/FTPProfile.cpp:551–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551int FTPProfile::GetCacheExternal(const TCHAR* localfile, char* extbuffer, int extbuffersize) const {
552 if (!extbuffer || extbuffersize == 0)
553 return -1;
554
555 return m_cache->GetExternalPathFromLocal(localfile, extbuffer, extbuffersize);
556}
557
558int FTPProfile::GetCacheLocal(const char * externalfile, TCHAR* localbuffer, int localbuffersize) const {
559 if (!localbuffer || localbuffersize == 0)

Callers 1

UploadFileCacheMethod · 0.80

Calls 1

Tested by

no test coverage detected