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

Method applyExtendOption

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

Source from the content-addressed store, hash-verified

36}
37
38func (p *Parser) applyExtendOption(ctx context.Context, o *options.Options, args []string) error {
39 return p.parseExtend(ctx, o, keys.PrefixExtend, args)
40}
41
42func (p *Parser) applyExtendAspectRatioOption(ctx context.Context, o *options.Options, args []string) error {
43 return p.parseExtend(ctx, o, keys.PrefixExtendAspectRatio, args)

Callers 2

applySizeOptionMethod · 0.95
applyURLOptionMethod · 0.95

Calls 1

parseExtendMethod · 0.95

Tested by

no test coverage detected