mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00
![dependabot-preview[bot]](/assets/img/avatar_default.png)
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.15.0 to 1.15.1. - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v1.15.0...v1.15.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
20 lines
521 B
Go
20 lines
521 B
Go
// Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail
|
|
// +build windows
|
|
|
|
package tail
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/nxadm/tail/winfile"
|
|
)
|
|
|
|
// Deprecated: this function is only useful internally and, as such,
|
|
// it will be removed from the API in a future major release.
|
|
//
|
|
// OpenFile proxies a os.Open call for a file so it can be correctly tailed
|
|
// on POSIX and non-POSIX OSes like MS Windows.
|
|
func OpenFile(name string) (file *os.File, err error) {
|
|
return winfile.OpenFile(name, os.O_RDONLY, 0)
|
|
}
|