(ctx context.Context, o *options.Options, args []string)
| 495 | } |
| 496 | |
| 497 | func (p *Parser) applyMaxSrcResolutionOption(ctx context.Context, o *options.Options, args []string) error { |
| 498 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
| 499 | return err |
| 500 | } |
| 501 | |
| 502 | return p.parseResolution(ctx, o, keys.MaxSrcResolution, args...) |
| 503 | } |
| 504 | |
| 505 | func (p *Parser) applyMaxSrcFileSizeOption(ctx context.Context, o *options.Options, args []string) error { |
| 506 | if err := p.IsSecurityOptionsAllowed(ctx); err != nil { |
no test coverage detected