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