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

Method applyRawOption

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

Source from the content-addressed store, hash-verified

428}
429
430func (p *Parser) applyRawOption(ctx context.Context, o *options.Options, args []string) error {
431 return p.parseBool(ctx, o, keys.Raw, args...)
432}
433
434func (p *Parser) applyFilenameOption(ctx context.Context, o *options.Options, args []string) error {
435 if err := p.ensureMaxArgs(ctx, keys.Filename, args, 2); err != nil {

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parseBoolMethod · 0.95

Tested by

no test coverage detected