MCPcopy
hub / github.com/jetify-com/devbox / ProjectDirHash

Method ProjectDirHash

internal/devbox/devbox.go:1103–1105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1101}
1102
1103func (d *Devbox) ProjectDirHash() string {
1104 return cachehash.Bytes([]byte(d.projectDir))
1105}
1106
1107func (d *Devbox) addHashToEnv(env map[string]string) error {
1108 hash, err := cachehash.JSON(env)

Callers 7

shellEnvHashKeyMethod · 0.95
computeEnvMethod · 0.95
refreshAliasEnvVarMethod · 0.95
IsEnvEnabledMethod · 0.95
SkipInitHookEnvNameMethod · 0.95

Calls 1

BytesFunction · 0.92