MCPcopy Index your code
hub / github.com/perkeep/perkeep / Stats

Method Stats

pkg/client/client.go:512–516  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

510}
511
512func (c *Client) Stats() Stats {
513 c.statsMutex.Lock()
514 defer c.statsMutex.Unlock()
515 return c.stats // copy
516}
517
518// ErrNoSearchRoot is returned by SearchRoot if the server doesn't support search.
519var ErrNoSearchRoot = errors.New("client: server doesn't support search")

Callers 3

TestReaderEfficiencyFunction · 0.45
initFunction · 0.45
runMethod · 0.45

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by 1

TestReaderEfficiencyFunction · 0.36