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

Method setStatusf

pkg/server/sync.go:485–490  ·  view source on GitHub ↗
(s string, args ...interface{})

Source from the content-addressed store, hash-verified

483}
484
485func (sh *SyncHandler) setStatusf(s string, args ...interface{}) {
486 s = time.Now().UTC().Format(time.RFC3339) + ": " + fmt.Sprintf(s, args...)
487 sh.mu.Lock()
488 defer sh.mu.Unlock()
489 sh.status = s
490}
491
492type copyResult struct {
493 sb blob.SizedRef

Callers 2

runSyncMethod · 0.95
syncLoopMethod · 0.95

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected