MCPcopy Create free account
hub / github.com/blobcache/blobcache / putFile

Function putFile

src/schema/bcgit/remote_test.go:172–175  ·  view source on GitHub ↗
(t testing.TB, te testEnv, p string, data []byte)

Source from the content-addressed store, hash-verified

170}
171
172func putFile(t testing.TB, te testEnv, p string, data []byte) {
173 p = filepath.Join(te.Dir, p)
174 require.NoError(t, os.WriteFile(p, data, 0644))
175}
176
177func gitInit(t testing.TB, te testEnv) {
178 cmd(t, te, "git", "init",

Callers 3

TestPushTagsFunction · 0.85
TestPushBranchFunction · 0.85
TestPushPullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected