This repository has been archived by the owner on Oct 22, 2021. It is now read-only.
Stat returns error when path is a symlink that point to a non-existent file #62
Labels
bug
Something isn't working
filepath.EvalSymlinks(path)
will returnlstat xxxxx: no such file or directory
if path is a symlink and points to a non-existent file or directory.Maybe we can use
os.Readlink(name)
instead as it can get the destination of the named symbolic link even if the target is not exist?The text was updated successfully, but these errors were encountered: