MCPcopy Create free account
hub / github.com/PDAL/PDAL / fetchRemote

Function fetchRemote

pdal/PDALUtils.cpp:331–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329
330
331std::string fetchRemote(const std::string& path)
332{
333 std::string temp = tempFilename(path);
334 arbiter::Arbiter a;
335 a.put(temp, a.getBinary(path));
336 return temp;
337}
338
339std::istream *openFile(const std::string& path, bool asBinary)
340{

Callers 3

initializeMethod · 0.85
inspectMethod · 0.85
initializeMethod · 0.85

Calls 3

tempFilenameFunction · 0.85
getBinaryMethod · 0.80
putMethod · 0.45

Tested by

no test coverage detected