const os.O_TRUNC

5 uses

	os (current package)
		file.go#L81: 	O_TRUNC  int = syscall.O_TRUNC  // truncate regular writable file when opened.
		file.go#L320: 	return OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
		file.go#L696: 	f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)

	go.etcd.io/bbolt
		tx.go#L391: 	f, err := tx.db.openFile(path, os.O_RDWR|os.O_CREATE|os.O_TRUNC, mode)

	src.elv.sh/pkg/eval
		compile_effect.go#L442: 		return os.O_WRONLY | os.O_CREATE | os.O_TRUNC