(pl plugin.PluginDatastore)
| 369 | } |
| 370 | |
| 371 | func injectDatastorePlugin(pl plugin.PluginDatastore) error { |
| 372 | return fsrepo.AddDatastoreConfigHandler(pl.DatastoreTypeName(), pl.DatastoreConfigParser()) |
| 373 | } |
| 374 | |
| 375 | func injectIPLDPlugin(pl plugin.PluginIPLD) error { |
| 376 | return pl.Register(multicodec.DefaultRegistry) |
no test coverage detected