Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to better IsAbs Implementation #3000

Merged
merged 1 commit into from
Oct 28, 2021
Merged

Move to better IsAbs Implementation #3000

merged 1 commit into from
Oct 28, 2021

Conversation

davidkel
Copy link
Contributor

@davidkel davidkel commented Oct 28, 2021

closes #2998

Signed-off-by: D d_kelsey@uk.ibm.com

  • Bug fix

Description

path.IsAbs is a poor implementation in Go, filepath.IsAbs looks to be much better
and addresses the problem where a windows absolute path is not recognised

Signed-off-by: D <d_kelsey@uk.ibm.com>
@davidkel davidkel marked this pull request as ready for review October 28, 2021 09:20
@davidkel davidkel requested a review from a team as a code owner October 28, 2021 09:20
@yacovm yacovm merged commit 9ef778a into hyperledger:main Oct 28, 2021
@davidkel davidkel deleted the fixIsAbs branch October 28, 2021 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Peer doesn't recognise absolute windows paths for snapshot root dir
2 participants