File: tail_windows.go

package info (click to toggle)
libpod 3.0.1%2Bdfsg1-3%2Bdeb11u5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 22,232 kB
  • sloc: sh: 3,352; python: 1,257; ansic: 1,133; perl: 864; makefile: 733; asm: 95; awk: 12
file content (12 lines) | stat: -rw-r--r-- 189 bytes parent folder | download | duplicates (3)
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)
}