...
Run Format

Source file src/path/filepath/symlink_unix.go

Documentation: path/filepath

     1  // +build !windows
     2  
     3  package filepath
     4  
     5  import (
     6  	"syscall"
     7  )
     8  
     9  // walkSymlinks returns slashAfterFilePathError error for paths like
    10  // //path/to/existing_file/ and /path/to/existing_file/. and /path/to/existing_file/..
    11  
    12  var slashAfterFilePathError = syscall.ENOTDIR
    13  
    14  func evalSymlinks(path string) (string, error) {
    15  	return walkSymlinks(path)
    16  }
    17  

View as plain text