Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GongShichen/LuminaCode
/ removeDirIfEmpty
Function
removeDirIfEmpty
agent/worktree.go:98–100 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
96
}
97
return
s
98
}
99
100
func
removeDirIfEmpty(path string) error {
101
return
os.Remove(path)
102
}
Callers
1
CreateWorktree
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected