func NewVerifier(ctx context.Context, rep repo.Repository, opts VerifierOptions) *Verifier {
	if opts.Parallelism == 0 {
		opts.Parallelism = runtime.NumCPU()
	}

	if opts.FileQueueLength == 0 {
		opts.FileQueueLength = 20000
	}

	return &Verifier{
		opts:    opts,
		rep:     rep,
		blobMap: opts.BlobMap,
	}
}
// NewVerifier creates a verifier.
NewVerifier creates a verifier.
// NewVerifier creates a verifier .
func NewVerifier(ctx context.Context, rep repo.Repository, opts VerifierOptions) *Verifier {
	if opts.Parallelism == 0 {
		opts.Parallelism = runtime.NumCPU()
	}
	if opts.FileQueueLength == 0 {
		opts.FileQueueLength = 20000
	}
	return &Verifier{
		opts:    opts,
		rep:     rep,
		blobMap: opts.BlobMap,
	}
}
func NewVerifier ( ctx context . Context , rep repo . Repository , opts VerifierOptions ) * Verifier { if opts . Parallelism == 0 { opts . Parallelism = runtime . NumCPU ( ) } if opts . FileQueueLength == 0 { opts . FileQueueLength = 20000 } return & Verifier { opts : opts , rep : rep , blobMap : opts . BlobMap , } }
NewVerifier creates a verifier.
NewVerifier creates a verifier .