File: tail_windows.go

package info (click to toggle)
golang-github-influxdata-tail 1.0.0%2Bgit20180327.c434825-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 228 kB
  • sloc: makefile: 18
file content (13 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
// +build windows

package tail

import (
	"os"

	"github.com/influxdata/tail/winfile"
)

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