MCPcopy Index your code
hub / github.com/jesseduffield/lazygit / transform

Function transform

pkg/commands/patch/transform.go:40–47  ·  view source on GitHub ↗
(patch *Patch, opts TransformOpts)

Source from the content-addressed store, hash-verified

38}
39
40func 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)

Callers 2

transformNodeFunction · 0.85
TransformMethod · 0.85

Calls 1

transformMethod · 0.95

Tested by

no test coverage detected