MCPcopy Index your code
hub / github.com/jetify-com/devbox / Fetch

Method Fetch

internal/plugin/git.go:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (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
93func (p *gitPlugin) cloneAndRead(subpath string) ([]byte, error) {
94 tempDir, err := os.MkdirTemp("", "devbox-git-plugin-*")

Callers

nothing calls this directly

Calls 1

FileContentMethod · 0.95

Tested by

no test coverage detected