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

Method getLocalHandle

io/private/connector/Connector.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136
137arbiter::LocalHandle Connector::getLocalHandle(const std::string& path) const
138{
139 if (Utils::startsWith(Utils::toupper(path), "/VSI"))
140 // workaround so that arbiter path is not used to read/write with VSI
141 return arbiter::LocalHandle(path, false);
142
143 if (m_arbiter->isLocal(path))
144 return m_arbiter->getLocalHandle(path);
145 else
146 return m_arbiter->getLocalHandle(path, m_headers, m_query);
147}
148
149void Connector::put(const std::string& path, const std::vector<char>& buf) const
150{

Callers 4

tryLoadRemoteMethod · 0.80
tryLoadRemoteMethod · 0.80
readLaszipMethod · 0.80
initializeMethod · 0.80

Calls 2

startsWithFunction · 0.85
toupperFunction · 0.85

Tested by

no test coverage detected