Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for itemOrErr (0.05 sec)

  1. cmd/batch-handlers.go

    	retry := false
    	for attempts := 1; attempts <= retryAttempts; attempts++ {
    		attempts := attempts
    		var (
    			walkCh = make(chan itemOrErr[ObjectInfo], 100)
    			slowCh = make(chan itemOrErr[ObjectInfo], 100)
    		)
    
    		if r.Source.Snowball.Disable != nil && !*r.Source.Snowball.Disable && r.Source.Type.isMinio() && r.Target.Type.isMinio() {
    			go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return err
    		}
    		ctx = lkctx.Context()
    		defer lk.Unlock(lkctx)
    	}
    
    	if !opts.Force {
    		results := make(chan itemOrErr[ObjectInfo])
    
    		ctx, cancel := context.WithTimeout(ctx, time.Minute)
    		defer cancel()
    		err := z.Walk(ctx, bucket, "", results, WalkOptions{Limit: 1})
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top