MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / TrimEnabled

Method TrimEnabled

processing/options.go:201–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

199}
200
201func (po ProcessingOptions) TrimEnabled() bool {
202 return po.Has(keys.TrimThreshold)
203}
204
205func (po ProcessingOptions) DisableTrim() {
206 po.Delete(keys.TrimThreshold)

Callers 2

trimMethod · 0.80
transformAnimatedMethod · 0.80

Calls 1

HasMethod · 0.45

Tested by

no test coverage detected