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

Method applyReturnAttachmentOption

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

Source from the content-addressed store, hash-verified

491}
492
493func (p *Parser) applyReturnAttachmentOption(ctx context.Context, o *options.Options, args []string) error {
494 return p.parseBool(ctx, o, keys.ReturnAttachment, args...)
495}
496
497func (p *Parser) applyMaxSrcResolutionOption(ctx context.Context, o *options.Options, args []string) error {
498 if err := p.IsSecurityOptionsAllowed(ctx); err != nil {

Callers 1

applyURLOptionMethod · 0.95

Calls 1

parseBoolMethod · 0.95

Tested by

no test coverage detected