symlink

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2014 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FollowSymlinkInScope

func FollowSymlinkInScope(link, root string) (string, error)

FollowSymlink will follow an existing link and scope it to the root path provided. The role of this function is to return an absolute path in the root or normalize to the root if the symlink leads to a path which is outside of the root. Errors encountered while attempting to follow the symlink in path will be reported. Normalizations to the root don't constitute errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL