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

Method applyWidthOption

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

Source from the content-addressed store, hash-verified

16)
17
18func (p *Parser) applyWidthOption(ctx context.Context, o *options.Options, args []string) error {
19 return p.parsePositiveInt(ctx, o, keys.Width, args...)
20}
21
22func (p *Parser) applyHeightOption(ctx context.Context, o *options.Options, args []string) error {
23 return p.parsePositiveInt(ctx, o, keys.Height, args...)

Callers 2

applySizeOptionMethod · 0.95
applyURLOptionMethod · 0.95

Calls 1

parsePositiveIntMethod · 0.95

Tested by

no test coverage detected