(patch *Patch, opts TransformOpts)
| 38 | } |
| 39 | |
| 40 | func transform(patch *Patch, opts TransformOpts) *Patch { |
| 41 | transformer := &patchTransformer{ |
| 42 | patch: patch, |
| 43 | opts: opts, |
| 44 | } |
| 45 | |
| 46 | return transformer.transform() |
| 47 | } |
| 48 | |
| 49 | // helper function that takes a start and end index and returns a slice of all |
| 50 | // indexes inbetween (inclusive) |
no test coverage detected