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