Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not wrap errors from filepath and stat as they are already wrapped.
Since errors from filepath and lstat are already wrapped, they do not need to be wrapped again. Wrapping them again will cause os.IsErrNotExist(err) to return false while some providers may want it to be true. Signed-off-by: Manu Gupta <manugupt1@gmail.com>
- Loading branch information