func (v *Verifier) verifyObject(ctx context.Context, e fs.Entry, oid object.ID, entryPath string) error {
	if v.throttle.ShouldOutput(time.Second) {
		v.ShowStats(ctx)
	}

	if !e.IsDir() {
		v.fileWorkQueue <- verifyFileWorkItem{oid, entryPath}
		atomic.AddInt32(&v.queued, 1)
	} else {
		atomic.AddInt32(&v.queued, 1)
		atomic.AddInt32(&v.processed, 1)
	}

	return nil
}
// verifyObject enqueues a single object for verification.
verifyObject enqueues a single object for verification.
// verifyObject enqueues a single object for verification .
func (v *Verifier) verifyObject(ctx context.Context, e fs.Entry, oid object.ID, entryPath string) error {
	if v.throttle.ShouldOutput(time.Second) {
		v.ShowStats(ctx)
	}
	if !e.IsDir() {
		v.fileWorkQueue <- verifyFileWorkItem{oid, entryPath}
		atomic.AddInt32(&v.queued, 1)
	} else {
		atomic.AddInt32(&v.queued, 1)
		atomic.AddInt32(&v.processed, 1)
	}
	return nil
}
func ( v * Verifier ) verifyObject ( ctx context . Context , e fs . Entry , oid object . ID , entryPath string ) error { if v . throttle . ShouldOutput ( time . Second ) { v . ShowStats ( ctx ) } if ! e . IsDir ( ) { v . fileWorkQueue <- verifyFileWorkItem { oid , entryPath } atomic . AddInt32 ( & v . queued , 1 ) } else { atomic . AddInt32 ( & v . queued , 1 ) atomic . AddInt32 ( & v . processed , 1 ) } return nil }
verifyObject enqueues a single object for verification.
verifyObject enqueues a single object for verification .