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

Use rawdata length for size, fixes #7 #31

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Conversation

sameer
Copy link
Contributor

@sameer sameer commented Dec 30, 2018

This fixes #7. I'm assuming here that calling Size() means RawData() will probably be called later. Let me know if any changes are needed.

@Stebalien Stebalien requested a review from magik6k January 3, 2019 23:30
Copy link
Member

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

Definitely an improvement!

@magik6k magik6k merged commit bd8ed46 into ipfs:master Jan 4, 2019
@sameer sameer deleted the realsize branch January 4, 2019 00:35
sameer added a commit to sameer/go-ipld-git that referenced this pull request Jan 5, 2019
sameer added a commit to sameer/go-ipld-git that referenced this pull request Jan 6, 2019
magik6k added a commit that referenced this pull request Jan 6, 2019
Re-enable assertion on commit size -- it is correct after #31
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.

Size() shouldn't return a constant.
2 participants