const os.O_RDWR

8 uses

	os (current package)
		file.go#L75: 	O_RDWR   int = syscall.O_RDWR   // open the file read-write.
		file.go#L320: 	return OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
		tempfile.go#L41: 		f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)

	github.com/go-git/go-billy/v5/osfs
		os.go#L28: 	return fs.OpenFile(filename, os.O_RDWR|os.O_CREATE|os.O_TRUNC, defaultCreateMode)

	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)

	github.com/go-git/go-git/v5/storage/filesystem/dotgit
		dotgit_rewrite_packed_refs.go#L14: 		return os.O_RDWR
		dotgit_setref.go#L23: 	mode := os.O_RDWR | os.O_CREATE

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