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

feat: restore Entry::content_hash & Entry::content_len #69

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Conversation

ramfox
Copy link
Contributor

@ramfox ramfox commented Nov 13, 2023

I erroneously took out the way to get the hash from the entry, and this PR puts it back in!

This adds a breaking change that converts IrohNode::doc_new and IrohNode::author_new to Iroh::doc_create and Iroh::author_create, to reflect the iroh core API.

add tests for new `entry.content_hash` and `entry.content_len` methods
@ramfox ramfox added the feature New feature or request label Nov 13, 2023
@ramfox ramfox requested a review from b5 November 13, 2023 18:31
@ramfox ramfox self-assigned this Nov 13, 2023
@ramfox ramfox merged commit 10e51d7 into main Nov 14, 2023
@ramfox ramfox deleted the content_hash branch November 14, 2023 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants