MCPcopy Index your code
hub / github.com/TruthHun/BookStack / StarSort

Method StarSort

models/book_counter.go:109–111  ·  view source on GitHub ↗
(prd period, limit int, withCache ...bool)

Source from the content-addressed store, hash-verified

107}
108
109func (m *BookCounter) StarSort(prd period, limit int, withCache ...bool) (books []SortedBook) {
110 return m._sort(prd, limit, "star", withCache...)
111}
112
113func (m *BookCounter) PageViewSort(prd period, limit int, withCache ...bool) (books []SortedBook) {
114 return m._sort(prd, limit, "vcnt", withCache...)

Callers 2

IndexMethod · 0.95
RankMethod · 0.95

Calls 1

_sortMethod · 0.95

Tested by

no test coverage detected