Construct from an options-aware factory function.
| 371 | |
| 372 | /// Construct from an options-aware factory function. |
| 373 | FileSystemFactory(std::function<Result<std::shared_ptr<FileSystem>>( |
| 374 | const Uri&, const FileSystemFactoryOptions&, const io::IOContext&, |
| 375 | std::string*)> |
| 376 | fn, |
| 377 | std::string_view file, int line) |
| 378 | : function(std::move(fn)), file(file), line(line) {} |
| 379 | |
| 380 | /// Construct from a non-options aware factory function maintaining source compatibility |
| 381 | /// with existing factories. |
nothing calls this directly
no test coverage detected