()
| 83 | } |
| 84 | |
| 85 | func (p *gitPlugin) Fetch() ([]byte, error) { |
| 86 | content, err := p.FileContent("plugin.json") |
| 87 | if err != nil { |
| 88 | return nil, err |
| 89 | } |
| 90 | return content, nil |
| 91 | } |
| 92 | |
| 93 | func (p *gitPlugin) cloneAndRead(subpath string) ([]byte, error) { |
| 94 | tempDir, err := os.MkdirTemp("", "devbox-git-plugin-*") |
nothing calls this directly
no test coverage detected