MCPcopy Create free account
hub / github.com/antonmedv/gitmal / getApplyFiles

Function getApplyFiles

pkg/gitdiff/apply_test.go:208–214  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

206}
207
208func getApplyFiles(name string) applyFiles {
209 return applyFiles{
210 Src: name + ".src",
211 Patch: name + ".patch",
212 Out: name + ".out",
213 }
214}
215
216func (f applyFiles) Load(t *testing.T) (src []byte, patch []byte, out []byte) {
217 load := func(name, kind string) []byte {

Callers 3

TestApplyTextFragmentFunction · 0.85
TestApplyBinaryFragmentFunction · 0.85
TestApplyFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected