Home
last modified time | relevance | path

Searched refs:inboxIndexStatus (Results 1 – 3 of 3) sorted by relevance

/dports/security/keybase/client-v5.7.1/go/chat/search/
H A Dmd.go97 type inboxIndexStatus struct { struct
105 func newInboxIndexStatus(uiCh chan chat1.ChatSearchIndexStatus) *inboxIndexStatus {
106 return &inboxIndexStatus{
112 func (p *inboxIndexStatus) updateUI(ctx context.Context) (int, error) { argument
130 func (p *inboxIndexStatus) numConvs() int { argument
136 func (p *inboxIndexStatus) addConv(m *indexMetadata, conv chat1.Conversation) { argument
143 func (p *inboxIndexStatus) rmConv(conv chat1.Conversation) { argument
150 func (p *inboxIndexStatus) percentIndexed() int { argument
156 func (p *inboxIndexStatus) percentIndexedLocked() int { argument
H A Dsession.go30 inboxIndexStatus *inboxIndexStatus member
57 inboxIndexStatus: newInboxIndexStatus(indexUICh),
260 s.inboxIndexStatus.addConv(md, conv)
264 return s.inboxIndexStatus.percentIndexed()
269 if _, err := s.indexer.reindexConv(ctx, rconv, 0, s.inboxIndexStatus); err != nil {
273 if _, err := s.inboxIndexStatus.updateUI(ctx); err != nil {
356 percentIndexed, err := s.inboxIndexStatus.updateUI(ctx)
373 s.inboxIndexStatus.rmConv(conv.Conv)
432 s.inboxIndexStatus.rmConv(conv.Conv)
473 … err, len(s.hitMap), s.percentIndexed(), s.inboxIndexStatus.numConvs(), s.numConvsSearched, s.opts)
[all …]
H A Dindexer.go524 numJobs int, inboxIndexStatus *inboxIndexStatus) (completedJobs int, err error) {
590 if inboxIndexStatus != nil {
596 inboxIndexStatus.addConv(md, conv)
597 percentIndexed, err := inboxIndexStatus.updateUI(ctx)