Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/jesseduffield/lazygit
/ InternalTreePathForFilePath
Function
InternalTreePathForFilePath
pkg/gui/filetree/build_tree.go:184–190 ·
view source on GitHub ↗
(path string, showRootItem bool)
Source
from the content-addressed store, hash-verified
182
}
183
184
func
InternalTreePathForFilePath(path string, showRootItem bool) string {
185
if
showRootItem {
186
return
"./"
+ path
187
}
188
189
return
path
190
}
Callers
2
SelectPath
Method · 0.85
SplitFileTreePath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected