mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 13:30:23 +00:00
d300da19b7
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
13 lines
191 B
Go
13 lines
191 B
Go
// +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)
|
|
}
|