MCPcopy Index your code
hub / github.com/XmirrorSecurity/OpenSCA-cli / MkdirTemp

Function MkdirTemp

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

Source from the content-addressed store, hash-verified

33}
34
35func MkdirTemp(pattern string) string {
36 tmp, err := os.MkdirTemp(tempdir, pattern)
37 if err != nil {
38 logs.Warn(err)
39 }
40 return tmp
41}
42
43func CreateTemp(pattern string) *os.File {
44 tempf, err := os.CreateTemp(tempdir, pattern)

Callers 3

ParsePythonWithEnvFunction · 0.92
downloadFunction · 0.92
decompressFunction · 0.92

Calls 1

WarnFunction · 0.92

Tested by

no test coverage detected