MCPcopy Create free account
hub / github.com/apache/arrow / GetInstance

Method GetInstance

cpp/src/arrow/filesystem/filesystem.cc:714–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712class FileSystemFactoryRegistry {
713 public:
714 static FileSystemFactoryRegistry* GetInstance() {
715 static FileSystemFactoryRegistry registry;
716 if (registry.merged_into_ != nullptr) {
717 return registry.merged_into_;
718 }
719 return &registry;
720 }
721
722 Status Unregister(const std::string& scheme) {
723 std::shared_lock lock{mutex_};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected