Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for clike (0.13 sec)

  1. cmd/utils.go

    }
    
    // ToS3ETag - return checksum to ETag
    func ToS3ETag(etag string) string {
    	etag = canonicalizeETag(etag)
    
    	if !strings.HasSuffix(etag, "-1") {
    		// Tools like s3cmd uses ETag as checksum of data to validate.
    		// Append "-1" to indicate ETag is not a checksum.
    		etag += "-1"
    	}
    
    	return etag
    }
    
    // GetDefaultConnSettings returns default HTTP connection settings.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. utils/utils.go

    		return strconv.FormatUint(uint64(v), 10)
    	case uint64:
    		return strconv.FormatUint(v, 10)
    	}
    	return ""
    }
    
    const nestedRelationSplit = "__"
    
    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top