WithRawRefProcessor attaches the given RawRefProcessor. If format is not manually specified, the RefParser will use this format parser with the raw path, that is not normalized.
(rawRefProcessor func(*RawRef) error)
| 586 | // If format is not manually specified, the RefParser will use this format parser |
| 587 | // with the raw path, that is not normalized. |
| 588 | func WithRawRefProcessor(rawRefProcessor func(*RawRef) error) RefParserOption { |
| 589 | return func(refParser *refParser) { |
| 590 | refParser.rawRefProcessor = rawRefProcessor |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | // WithSingleFormat attaches the given format as a single format. |
| 595 | // |
no outgoing calls
no test coverage detected
searching dependent graphs…