()
| 27 | } |
| 28 | |
| 29 | func (l *LocalPlugin) Fetch() ([]byte, error) { |
| 30 | content, err := os.ReadFile(addFilenameIfMissing(l.Path())) |
| 31 | if err != nil { |
| 32 | return nil, errors.WithStack(err) |
| 33 | } |
| 34 | return jsonPurifyPluginContent(content) |
| 35 | } |
| 36 | |
| 37 | func (l *LocalPlugin) CanonicalName() string { |
| 38 | return l.name |
nothing calls this directly
no test coverage detected