Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jetify-com/devbox
/ BinaryInstalled
Function
BinaryInstalled
internal/nix/install.go:24–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
)
23
24
func
BinaryInstalled() bool {
25
return
cmdutil.Exists(
"nix"
)
26
}
27
28
func
dirExistsAndIsNotEmpty(dir string) bool {
29
empty, err := fileutil.IsDirEmpty(dir)
Callers
2
runInstallNixCmd
Function · 0.92
EnsureNixInstalled
Function · 0.85
Calls
1
Exists
Function · 0.92
Tested by
no test coverage detected