DockerCLI/vendor/github.com/moby/sys/symlink
Sebastiaan van Stijn c318ec8a33
vendor: update docker/docker and moby/sys
diffs and relevant changes:

docker/docker: c2cc352355...af34b94a78
  - replace pkg/symlink with github.com/moby/sys/symlink

moby/sys: 6154f11e68...1bc8673b57

changes:
    - mount, mountinfo: Add support for OpenBSD in addition to FreeBSD
    - mount, mountinfo: Exclude macOS (darwin)
    - mount.RecursiveUnmount(): minor improvements
    - mount.RecursiveUnmount: add a fast path
    - mount: bump mountinfo to v0.3.1
    - mount: Some refactor and improved GoDoc about Windows support
    - mount: use MNT_* flags from golang.org/x/sys/unix on freebsd (reduces use of cgo)
    - mountinfo.Mounted: add fast path for Linux using openat2
    - mountinfo.Mounted: optimize by adding fast paths
    - mountinfo: correctness improvements
    - mountinfo: deprecate PidMountInfo
    - mountinfo: fix not showing package doc, typos
    - mountinfo: fix path unescaping
    - mountinfo: make GetMountinfoFromReader Linux-specific
    - mountinfo: rename FstypeFilter -> FSTypeFilter, fix FilterFunc docs
    - mountinfo: use idiomatic naming for fields
    - Migrate github.com/docker/docker/pkg/symlink

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-11-10 22:31:52 +01:00
..
LICENSE.APACHE vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
LICENSE.BSD vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
README.md vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
doc.go vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
fs.go vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
fs_unix.go vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
fs_windows.go vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00
go.mod vendor: update docker/docker and moby/sys 2020-11-10 22:31:52 +01:00

README.md

Package symlink implements EvalSymlinksInScope which is an extension of filepath.EvalSymlinks, as well as a Windows long-path aware version of filepath.EvalSymlinks from the Go standard library.

The code from filepath.EvalSymlinks has been adapted in fs.go. Please read the LICENSE.BSD file that governs fs.go and LICENSE.APACHE for fs_test.go.