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

Method paginate

termui/bug_table.go:240–248  ·  view source on GitHub ↗
(max int)

Source from the content-addressed store, hash-verified

238}
239
240func (bt *bugTable) paginate(max int) error {
241 var err error
242 bt.allIds, err = bt.repo.Bugs().Query(bt.query)
243 if err != nil {
244 return err
245 }
246
247 return bt.doPaginate(max)
248}
249
250func (bt *bugTable) doPaginate(max int) error {
251 // clamp the cursor

Callers 1

layoutMethod · 0.95

Calls 3

doPaginateMethod · 0.95
BugsMethod · 0.80
QueryMethod · 0.65

Tested by

no test coverage detected