MCPcopy Index your code
hub / github.com/git-bug/git-bug / newBugTable

Function newBugTable

termui/bug_table.go:47–60  ·  view source on GitHub ↗
(c *cache.RepoCache)

Source from the content-addressed store, hash-verified

45}
46
47func newBugTable(c *cache.RepoCache) *bugTable {
48 q, err := query.Parse(defaultQuery)
49 if err != nil {
50 panic(err)
51 }
52
53 return &bugTable{
54 repo: c,
55 query: q,
56 queryStr: defaultQuery,
57 pageCursor: 0,
58 selectCursor: 0,
59 }
60}
61
62func (bt *bugTable) layout(g *gocui.Gui) error {
63 maxX, maxY := g.Size()

Callers 1

RunFunction · 0.85

Calls 1

ParseFunction · 0.92

Tested by

no test coverage detected