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

Method FileSystemRegistrar

cpp/src/arrow/filesystem/filesystem.cc:855–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853void EnsureFinalized() { FileSystemFactoryRegistry::GetInstance()->EnsureFinalized(); }
854
855FileSystemRegistrar::FileSystemRegistrar(std::string scheme, FileSystemFactory factory,
856 std::function<void()> finalizer) {
857 DCHECK_OK(FileSystemFactoryRegistry::GetInstance()->RegisterFactory(
858 std::move(scheme), std::move(factory), std::move(finalizer),
859 /*defer_error=*/true));
860}
861
862namespace internal {
863void* GetFileSystemRegistry() { return FileSystemFactoryRegistry::GetInstance(); }

Callers

nothing calls this directly

Calls 1

RegisterFactoryMethod · 0.80

Tested by

no test coverage detected