Files
kopia/internal/tempfile/tempfile_unix_nonlinux.go
Nathan Baulch 657fda216a chore(ci): upgrade to golangci-lint 2.6.1 (#4973)
- upgrade to golangci-lint 2.6.1
- updates for gosec
- updates for govet
- updates for perfsprint
- updates modernize

Leaves out modernize:omitempty due to conflicts with tests
2025-11-11 21:27:10 -08:00

13 lines
251 B
Go

//go:build freebsd || darwin || openbsd
package tempfile
import (
"os"
)
// CreateAutoDelete creates a temporary file that does not need to be explicitly removed on close.
func CreateAutoDelete() (*os.File, error) {
return createUnixFallback()
}