| 968 | } |
| 969 | |
| 970 | Result<std::shared_ptr<GcsFileSystem>> GcsFileSystem::Make( |
| 971 | const GcsOptions& options, const io::IOContext& io_context) { |
| 972 | // Cannot use `std::make_shared<>` as the constructor is private. |
| 973 | std::shared_ptr<GcsFileSystem> ptr(new GcsFileSystem(options, io_context)); |
| 974 | return ptr; |
| 975 | } |
| 976 | |
| 977 | GcsFileSystem::GcsFileSystem(const GcsOptions& options, const io::IOContext& context) |
| 978 | : FileSystem(context), impl_(std::make_shared<Impl>(options)) {} |
nothing calls this directly
no outgoing calls
no test coverage detected