Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 `\\?\`.
Types ¶
type FsEval ¶
type FsEval interface { Lstat(path string) (fi os.FileInfo, err error) Readlink(path string) (linkname string, err error) }
FsEval is a mock-friendly (and unpriv.*) friendly way of wrapping filesystem-related functions. Note that this code (and all code referencing it) comes from this fork and is not present in the upstream code.
Click to show internal directories.
Click to hide internal directories.