diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-03-08 08:33:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 08:33:53 -0500 |
commit | 6fe634c9165367ecf797794f016dd640bc28ff2f (patch) | |
tree | 5262e741c70f51cf57a8c210c6f5771f646ff492 /vendor/github.com/nxadm/tail/tail_posix.go | |
parent | 7c09752fb88faba0cda07dbeabe17616c7262ea1 (diff) | |
parent | 80390dd1800590f69ed83db13137fad88f6b63ed (diff) | |
download | podman-6fe634c9165367ecf797794f016dd640bc28ff2f.tar.gz podman-6fe634c9165367ecf797794f016dd640bc28ff2f.tar.bz2 podman-6fe634c9165367ecf797794f016dd640bc28ff2f.zip |
Merge pull request #9658 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.15.1
Bump github.com/onsi/ginkgo from 1.15.0 to 1.15.1
Diffstat (limited to 'vendor/github.com/nxadm/tail/tail_posix.go')
-rw-r--r-- | vendor/github.com/nxadm/tail/tail_posix.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/nxadm/tail/tail_posix.go b/vendor/github.com/nxadm/tail/tail_posix.go index 1b94520ec..23e071dea 100644 --- a/vendor/github.com/nxadm/tail/tail_posix.go +++ b/vendor/github.com/nxadm/tail/tail_posix.go @@ -1,3 +1,4 @@ +// Copyright (c) 2019 FOSS contributors of https://github.com/nxadm/tail // +build !windows package tail @@ -6,6 +7,11 @@ import ( "os" ) +// 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 os.Open(name) } |