ref: 845cd640384ed25ce3c18ade9aae37de2ed4c5e0
dir: /internal/testgit/repo_cat_file.go/
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())
}