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

example to show correct iroh get behaviour #339

Closed
wants to merge 19 commits into from

Conversation

ramfox
Copy link
Contributor

@ramfox ramfox commented Oct 14, 2022

@faassen the last commit here takes your work and adds back in the correct behavior when using the outpath and when using nested ipfs paths!

iroh get Qmfoo
saves the output of Qmfoo to Qmfoo

iroh get Qmfoo new_file
saves the output of Qmfoo to new_file

iroh get Qmfoo/bar
saves the output of Qmfoo/bar to ./bar

iroh get Qmfoo/bar new_file
saves the output of Qmfoo/bar to new_file

NOTE:
I couldn't figure out exactly what the fixtures and tests were asking for.

I also was just a bit confused about the output for the tests anyway, as I mention in #331 (comment)

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