()
| 264 | type Config struct{} |
| 265 | |
| 266 | func init() { |
| 267 | registry.Register(&plugin.Registration{ |
| 268 | Type: plugins.MountHandlerPlugin, |
| 269 | ID: "erofs", |
| 270 | Config: &Config{}, |
| 271 | InitFn: func(ic *plugin.InitContext) (any, error) { |
| 272 | p := platforms.DefaultSpec() |
| 273 | p.OS = runtime.GOOS |
| 274 | ic.Meta.Platforms = append(ic.Meta.Platforms, p) |
| 275 | |
| 276 | return NewErofsMountHandler(), nil |
| 277 | }, |
| 278 | }) |
| 279 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…