blob: c905521fd781690a2732e8faafcf3dace9099701 (
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 (repo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte {
tb.Helper()
return repo.RunBytes(tb, "cat-file", mode, id.String())
}
|