mirror of
https://github.com/Luzifer/duplicity-backup.git
synced 2024-11-08 23:20:05 +00:00
12 lines
191 B
Go
12 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)
|
|
}
|