const os.O_EXCL

5 uses

	os (current package)
		file.go#L79: 	O_EXCL   int = syscall.O_EXCL   // used with O_CREATE, file must not exist.
		tempfile.go#L41: 		f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)

	github.com/go-git/go-billy/v5/util
		util.go#L157: 		f, err = fs.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0600)

	golang.org/x/mod/zip
		zip.go#L649: 		w, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0444)

	io/ioutil
		tempfile.go#L64: 		f, err = os.OpenFile(name, os.O_RDWR|os.O_CREATE|os.O_EXCL, 0600)