Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for stringsHasPrefixFold (1.35 sec)

  1. cmd/api-response.go

    		}
    	case crypto.SSEC:
    		m[xhttp.AmzServerSideEncryptionCustomerAlgorithm] = xhttp.AmzEncryptionAES
    
    	}
    
    	var toRemove []string
    	for k := range cleanMinioInternalMetadataKeys(m) {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    			// Do not need to send any internal metadata
    			// values to client.
    			toRemove = append(toRemove, k)
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    		for _, prefix := range compareKeys {
    			if !stringsHasPrefixFold(k, prefix) {
    				continue
    			}
    			found = true
    			break
    		}
    		if found {
    			compareMeta1[strings.ToLower(k)] = v
    		}
    	}
    
    	compareMeta2 := make(map[string]string)
    	for k, v := range oi2.Metadata {
    		var found bool
    		for _, prefix := range compareKeys {
    			if !stringsHasPrefixFold(k, prefix) {
    				continue
    			}
    			found = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    	if sc == "" {
    		sc = objInfo.StorageClass
    	}
    	meta[strings.ToLower(xhttp.AmzStorageClass)] = sc
    
    	if rreq.Type == SelectRestoreRequest {
    		for _, v := range rreq.OutputLocation.S3.UserMetadata {
    			if !stringsHasPrefixFold(v.Name, "x-amz-meta") {
    				meta["x-amz-meta-"+v.Name] = v.Value
    				continue
    			}
    			meta[v.Name] = v.Value
    		}
    		if tags := rreq.OutputLocation.S3.Tagging.String(); tags != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    // For example on windows since its case insensitive we are supposed
    // to do case insensitive checks.
    func HasPrefix(s string, prefix string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return stringsHasPrefixFold(s, prefix)
    	}
    	return strings.HasPrefix(s, prefix)
    }
    
    // HasSuffix - Suffix matcher string matches suffix in a platform specific way.
    // For example on windows since its case insensitive we are supposed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		for k, v := range srcInfo.UserDefined {
    			if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    				encMetadata[k] = v
    			}
    		}
    
    		if err = rotateKey(ctx, oldKey, newKeyID, newKey, srcBucket, srcObject, encMetadata, kmsCtx); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top