Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cwarden/git-add--interactive
/ NewApp
Function
NewApp
internal/ui/app.go:34–40 ·
view source on GitHub ↗
(repo *git.Repository)
Source
from the content-addressed store, hash-verified
32
}
33
34
func
NewApp(repo *git.Repository) *App {
35
app := &App{
36
repo: repo,
37
}
38
app.initColors()
39
return
app
40
}
41
42
func
(a *App) showInteractiveStatus() {
43
files, err := a.repo.ListModified(
""
)
Callers
1
main
Function · 0.92
Calls
1
initColors
Method · 0.95
Tested by
no test coverage detected