MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Lookup

Method Lookup

tensorflow/core/platform/env.cc:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75FileSystem* 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
84Status FileSystemRegistryImpl::GetRegisteredFileSystemSchemes(
85 std::vector<string>* schemes) {

Callers 2

GetFileSystemForFileMethod · 0.45
FilesExistMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected