MCPcopy Create free account
hub / github.com/OSGeo/gdal / CPLCopyFile

Function CPLCopyFile

port/cpl_conv.cpp:3253–3259  ·  view source on GitHub ↗

Copy a file */

Source from the content-addressed store, hash-verified

3251
3252/** Copy a file */
3253int CPLCopyFile(const char *pszNewPath, const char *pszOldPath)
3254
3255{
3256 return VSICopyFile(pszOldPath, pszNewPath, nullptr,
3257 static_cast<vsi_l_offset>(-1), nullptr, nullptr,
3258 nullptr);
3259}
3260
3261/************************************************************************/
3262/* CPLCopyTree() */

Callers 15

OpenMethod · 0.85
CloneMethod · 0.85
CacheAllGML321Method · 0.85
CacheAllISO20070417Method · 0.85
UncompressIfNeededMethod · 0.85
RecompressIfNeededMethod · 0.85
WriteKmzMethod · 0.85
BeginMethod · 0.85
RollbackMethod · 0.85

Calls 1

VSICopyFileFunction · 0.85

Tested by 2

mainFunction · 0.68
TestVirtualIOFunction · 0.68