| 73 | } |
| 74 | |
| 75 | FileSystem* FileSystemRegistryImpl::Lookup(const string& scheme) { |
| 76 | mutex_lock lock(mu_); |
| 77 | const auto found = registry_.find(scheme); |
| 78 | if (found == registry_.end()) { |
| 79 | return nullptr; |
| 80 | } |
| 81 | return found->second.get(); |
| 82 | } |
| 83 | |
| 84 | Status FileSystemRegistryImpl::GetRegisteredFileSystemSchemes( |
| 85 | std::vector<string>* schemes) { |
no test coverage detected