| 135 | |
| 136 | |
| 137 | arbiter::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 | |
| 149 | void Connector::put(const std::string& path, const std::vector<char>& buf) const |
| 150 | { |
no test coverage detected