MCPcopy Index your code
hub / github.com/gotify/server / fakeImage

Function fakeImage

api/application_test.go:702–708  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

700}
701
702func fakeImage(t *testing.T, path string) {
703 data, err := os.ReadFile("../test/assets/image.png")
704 assert.Nil(t, err)
705 // Write data to dst
706 err = os.WriteFile(path, data, 0o644)
707 assert.Nil(t, err)
708}

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…