MCPcopy Index your code
hub / github.com/livekit/livekit / writeConfigFile

Function writeConfigFile

cmd/server/main_test.go:57–63  ·  view source on GitHub ↗
(test testStruct, t *testing.T)

Source from the content-addressed store, hash-verified

55}
56
57func writeConfigFile(test testStruct, t *testing.T) {
58 if test.configFileName != "" {
59 d1 := []byte(test.expectedConfigBody)
60 err := os.WriteFile(test.configFileName, d1, 0o644)
61 require.NoError(t, err)
62 }
63}

Callers 1

TestGetConfigStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected