blob: e02039804eef4b0976d1e874137dc2e905dc1766 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package testgit
import (
"testing"
objectid "lindenii.org/go/furgit/object/id"
)
// 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())
}
|