File: tail_windows.go

package info (click to toggle)
golang-github-hpcloud-tail 1.0.0%2Bgit20160415.b294095-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 188 kB
  • ctags: 143
  • sloc: makefile: 15
file content (12 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (4)
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)
}