MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / CreateTemp

Function CreateTemp

opensca/common/temp.go:43–49  ·  view source on GitHub ↗
(pattern string)

Source from the content-addressed store, hash-verified

41}
42
43func CreateTemp(pattern string) *os.File {
44 tempf, err := os.CreateTemp(tempdir, pattern)
45 if err != nil {
46 logs.Warn(err)
47 }
48 return tempf
49}

Callers 2

xjarFunction · 0.92
SaasFunction · 0.92

Calls 1

WarnFunction · 0.92

Tested by

no test coverage detected