MCPcopy Index your code
hub / github.com/rilldata/rill / createFile

Function createFile

runtime/pkg/filewatcher/filewatcher_test.go:111–116  ·  view source on GitHub ↗
(t *testing.T, fullname string)

Source from the content-addressed store, hash-verified

109}
110
111func createFile(t *testing.T, fullname string) {
112 f, err := os.Create(fullname)
113 require.NoError(t, err)
114 err = f.Close()
115 require.NoError(t, err)
116}

Callers 1

TestWatchFunction · 0.70

Calls 2

CreateMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected