MCPcopy
hub / github.com/nakabonne/ali / readFile

Function readFile

export/export_test.go:261–266  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

259}
260
261func readFile(t *testing.T, path string) []byte {
262 t.Helper()
263 content, err := os.ReadFile(path)
264 require.NoError(t, err)
265 return content
266}
267
268func readCSV(t *testing.T, path string) [][]string {
269 t.Helper()

Callers 5

TestFileExporter_BasicFunction · 0.85
TestFileExporter_QuotesFunction · 0.85
TestFileExporter_NaNInfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected