Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jetify-com/devbox
/ Exists
Function
Exists
internal/fileutil/fileutil.go:49–52 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
47
}
48
49
func
Exists(path string) bool {
50
_, err := os.Stat(path)
51
return
err == nil
52
}
53
54
func
IsDirEmpty(path string) (bool, error) {
55
entries, err := os.ReadDir(path)
Callers
7
nixpkgsCommitFileContents
Function · 0.92
GenerateDevcontainer
Method · 0.92
GenerateDockerfile
Method · 0.92
GenerateEnvrcFile
Method · 0.92
ensureStateIsUpToDateAndComputeEnv
Method · 0.92
checkOldEnvrc
Method · 0.92
GenerateReadme
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected