package symlink
import "github.com/docker/cli/components/engine/pkg/symlink"
Index ¶
- func EvalSymlinks(path string) (string, error)
- func FollowSymlinkInScope(path, root string) (string, error)
Functions ¶
func EvalSymlinks ¶
EvalSymlinks returns the path name after the evaluation of any symbolic links. If path is relative the result will be relative to the current directory, unless one of the components is an absolute symbolic link. This version has been updated to support long paths prepended with `\\?\`.
func FollowSymlinkInScope ¶
FollowSymlinkInScope is a wrapper around evalSymlinksInScope that returns an absolute path. This function handles paths in a platform-agnostic manner.
Source Files ¶
- Version
- v17.12.0-ce-rc1+incompatible
- Published
- Dec 7, 2017
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 6 seconds ago –
Tools for package owners.