blob: 4aaceea2869e56d2bd9dbcab4ed2d71a8ce19ffc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// +build windows
package tail
import (
"github.com/nxadm/tail/winfile"
"os"
)
func OpenFile(name string) (file *os.File, err error) {
return winfile.OpenFile(name, os.O_RDONLY, 0)
}
|