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

fix: preserve windows file paths #214

Merged
merged 1 commit into from
Aug 25, 2021
Merged

fix: preserve windows file paths #214

merged 1 commit into from
Aug 25, 2021

Conversation

Stebalien
Copy link
Member

This is a filepath, not a unixfs path.

This is a filepath, not a unixfs path.
Copy link
Contributor

@aschmahmann aschmahmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable to me. Is there a way I can see this expressed in go-ipfs/any idea what types of things would have been going wrong before that won't now?

It seems like we should be fixing a Windows bug here, but given the lack of automated Windows tests in go-ipfs I'm wondering if we did anything weird there to offset this if this was a problem.

@Stebalien
Copy link
Member Author

I don't think this makes a difference in most cases because windows doesn't care about / versus \. Maybe this changes how the filestore works, but that shouldn't be an issue.

I'm fixing this because the tests are failing because an error doesn't match what we expect (because the path is getting converted).

@Stebalien Stebalien merged commit 35a667a into master Aug 25, 2021
@Stebalien Stebalien deleted the fix/windows-path branch August 25, 2021 17:18
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.

2 participants