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

Method applyAutoRotateOption

options/parser/apply.go:485–487  ·  view source on GitHub ↗
(ctx context.Context, o *options.Options, args []string)

Source from the content-addressed store, hash-verified

483}
484
485func (p *Parser) applyAutoRotateOption(ctx context.Context, o *options.Options, args []string) error {
486 return p.parseBool(ctx, o, keys.AutoRotate, args...)
487}
488
489func (p *Parser) applyEnforceThumbnailOption(ctx context.Context, o *options.Options, args []string) error {
490 return p.parseBool(ctx, o, keys.EnforceThumbnail, args...)

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parseBoolMethod · 0.95

Tested by

no test coverage detected