summaryrefslogtreecommitdiff
path: root/vendor/github.com/hpcloud/tail/tail_windows.go
blob: ef2cfca1b74b4a88571c83b548b6fa0d4fc935f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// +build windows

package tail

import (
	"github.com/hpcloud/tail/winfile"
	"os"
)

func OpenFile(name string) (file *os.File, err error) {
	return winfile.OpenFile(name, os.O_RDONLY, 0)
}