MCPcopy 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
24func BinaryInstalled() bool {
25 return cmdutil.Exists("nix")
26}
27
28func dirExistsAndIsNotEmpty(dir string) bool {
29 empty, err := fileutil.IsDirEmpty(dir)

Callers 2

runInstallNixCmdFunction · 0.92
EnsureNixInstalledFunction · 0.85

Calls 1

ExistsFunction · 0.92

Tested by

no test coverage detected