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

Function isCustomQueryValue

utils.go:588–590  ·  view source on GitHub ↗
(qsKey string)

Source from the content-addressed store, hash-verified

586const allowedCustomQueryPrefix = "x-"
587
588func isCustomQueryValue(qsKey string) bool {
589 return strings.HasPrefix(qsKey, allowedCustomQueryPrefix)
590}
591
592var (
593 md5Pool = sync.Pool{New: func() interface{} { return md5.New() }}

Callers 3

TestIsCustomQueryValueFunction · 0.85
SetReqParamMethod · 0.85
AddReqParamMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestIsCustomQueryValueFunction · 0.68