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

Method applyEnlargeOption

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

Source from the content-addressed store, hash-verified

32}
33
34func (p *Parser) applyEnlargeOption(ctx context.Context, o *options.Options, args []string) error {
35 return p.parseBool(ctx, o, keys.Enlarge, args...)
36}
37
38func (p *Parser) applyExtendOption(ctx context.Context, o *options.Options, args []string) error {
39 return p.parseExtend(ctx, o, keys.PrefixExtend, args)

Callers 2

applySizeOptionMethod · 0.95
applyURLOptionMethod · 0.95

Calls 1

parseBoolMethod · 0.95

Tested by

no test coverage detected