blob: 9cc56db6b8ac50aebd9427fb6a1ea26552fdc9f2 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package testgit
import (
"testing"
"codeberg.org/lindenii/furgit/objectid"
)
// CatFile returns raw output from git cat-file.
func (testRepo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte {
tb.Helper()
return testRepo.RunBytes(tb, "cat-file", mode, id.String())
}
|