MCPcopy Create free account
hub / github.com/UiPath/uipathcli / TempFile

Function TempFile

test/setup.go:262–265  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

260}
261
262func TempFile(t *testing.T) string {
263 directory := t.TempDir()
264 return filepath.Join(directory, RandomString(50))
265}
266
267func CreateTempFile(t *testing.T, data string) string {
268 return CreateTempFileBinary(t, []byte(data))

Calls 1

RandomStringFunction · 0.85