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

Method applyMinHeightOption

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

Source from the content-addressed store, hash-verified

28}
29
30func (p *Parser) applyMinHeightOption(ctx context.Context, o *options.Options, args []string) error {
31 return p.parsePositiveInt(ctx, o, keys.MinHeight, args...)
32}
33
34func (p *Parser) applyEnlargeOption(ctx context.Context, o *options.Options, args []string) error {
35 return p.parseBool(ctx, o, keys.Enlarge, args...)

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parsePositiveIntMethod · 0.95

Tested by

no test coverage detected