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

Method Hash

internal/plugin/github.go:64–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62}
63
64func (p *githubPlugin) Hash() string {
65 return cachehash.Bytes([]byte(p.ref.String()))
66}
67
68func (p *githubPlugin) FileContent(subpath string) ([]byte, error) {
69 contentURL, err := p.url(subpath)

Callers

nothing calls this directly

Calls 2

BytesFunction · 0.92
StringMethod · 0.45

Tested by

no test coverage detected