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

Function isStorageClassHeader

utils.go:529–531  ·  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

527
528// isStorageClassHeader returns true if the header is a supported storage class header
529func isStorageClassHeader(headerKey string) bool {
530 return strings.EqualFold(amzStorageClass, headerKey)
531}
532
533// isStandardHeader returns true if header is a supported header and not a custom header
534func 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