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

Method CheckValid

cpp/src/arrow/filesystem/filesystem.cc:829–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827 };
828
829 Status CheckValid() {
830 if (finalized_) {
831 return Status::Invalid("FileSystem factories were already finalized!");
832 }
833 if (merged_into_ != nullptr) {
834 return Status::Invalid(
835 "FileSystem factories were merged into a different registry!");
836 }
837 return Status::OK();
838 }
839
840 std::shared_mutex mutex_;
841 std::unordered_map<std::string, Result<Registered>> scheme_to_factory_;

Callers 1

MergeIntoMethod · 0.45

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected