mirror of
https://github.com/kopia/kopia.git
synced 2026-05-14 01:37:07 -04:00
14 lines
266 B
Go
14 lines
266 B
Go
//go:build freebsd || darwin || openbsd
|
|
// +build freebsd darwin openbsd
|
|
|
|
package tempfile
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// Create creates a temporary file that does not need to be removed on close.
|
|
func Create(dir string) (*os.File, error) {
|
|
return createUnixFallback(dir)
|
|
}
|