Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1103
func
(d *Devbox) ProjectDirHash() string {
1104
return
cachehash.Bytes([]byte(d.projectDir))
1105
}
1106
1107
func
(d *Devbox) addHashToEnv(env
map
[string]string) error {
1108
hash, err := cachehash.JSON(env)
Callers
7
shellEnvHashKey
Method · 0.95
computeEnv
Method · 0.95
refreshAliasEnvVar
Method · 0.95
IsEnvEnabled
Method · 0.95
SkipInitHookEnvName
Method · 0.95
TestComputeDevboxPathIsIdempotent
Function · 0.80
TestComputeDevboxPathWhenRemoving
Function · 0.80
Calls
1
Bytes
Function · 0.92
Tested by
2
TestComputeDevboxPathIsIdempotent
Function · 0.64
TestComputeDevboxPathWhenRemoving
Function · 0.64