Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for geturl (0.18 sec)

  1. cmd/object-api-errors.go

    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		return apiErr
    	case errVolumeExists.Error():
    		apiErr := BucketExists{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    		}
    		return apiErr
    	case errDiskFull.Error():
    		return StorageFull{}
    	case errTooManyOpenFiles.Error():
    		return SlowDown{}
    	case errFileAccessDenied.Error():
    		apiErr := PrefixAccessDenied{}
    		if len(params) >= 1 {
    			apiErr.Bucket = params[0]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		index := index
    		g.Go(func() (err error) {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			rf, err := disks[index].ReadXL(ctx, bucket, object, readData)
    			if err != nil {
    				return err
    			}
    			rawFileInfos[index] = rf
    			return nil
    		}, index)
    	}
    
    	return rawFileInfos, g.Wait()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. cmd/api-errors.go

    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. cmd/common-main.go

    	}
    
    	if dir == "" {
    		if !dirSet {
    			return nil, fmt.Errorf("missing option must be provided")
    		}
    		return nil, fmt.Errorf("provided option cannot be empty")
    	}
    
    	// Disallow relative paths, figure out absolute paths.
    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. internal/logger/logger.go

    	p, l := 0, data.Len()
    	if l <= 1 {
    		return l
    	}
    	for i := 1; i < l; i++ {
    		if !data.Less(p, i) {
    			continue
    		}
    		p++
    		if p < i {
    			data.Swap(p, i)
    		}
    	}
    	return p + 1
    }
    
    // Remove any duplicates and return unique entries.
    func uniqueEntries(paths []string) []string {
    	sort.Strings(paths)
    	n := uniq(sort.StringSlice(paths))
    	return paths[:n]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top