MCPcopy 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
34func NewApp(repo *git.Repository) *App {
35 app := &App{
36 repo: repo,
37 }
38 app.initColors()
39 return app
40}
41
42func (a *App) showInteractiveStatus() {
43 files, err := a.repo.ListModified("")

Callers 1

mainFunction · 0.92

Calls 1

initColorsMethod · 0.95

Tested by

no test coverage detected