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

Method applyEnforceThumbnailOption

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

Source from the content-addressed store, hash-verified

487}
488
489func (p *Parser) applyEnforceThumbnailOption(ctx context.Context, o *options.Options, args []string) error {
490 return p.parseBool(ctx, o, keys.EnforceThumbnail, args...)
491}
492
493func (p *Parser) applyReturnAttachmentOption(ctx context.Context, o *options.Options, args []string) error {
494 return p.parseBool(ctx, o, keys.ReturnAttachment, args...)

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parseBoolMethod · 0.95

Tested by

no test coverage detected