MCPcopy
hub / github.com/minio/minio-go / isStorageClassHeader

Function isStorageClassHeader

utils.go:528–530  ·  view source on GitHub ↗

isStorageClassHeader returns true if the header is a supported storage class header

(headerKey string)

Source from the content-addressed store, hash-verified

526
527// isStorageClassHeader returns true if the header is a supported storage class header
528func isStorageClassHeader(headerKey string) bool {
529 return strings.EqualFold(amzStorageClass, headerKey)
530}
531
532// isStandardHeader returns true if header is a supported header and not a custom header
533func isStandardHeader(headerKey string) bool {

Callers 3

MarshalMethod · 0.85
HeaderMethod · 0.85
validateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected