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(unixfs): add filesize and blocksizes for UnixfsNode::File nodes #254

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

ramfox
Copy link
Contributor

@ramfox ramfox commented Sep 30, 2022

filesize is the cumulative size of all the raw data in the tree
blocksizes is an array of the size of the raw data pointed to by the given node's links

closes n0-computer/beetle#202

@ramfox ramfox self-assigned this Sep 30, 2022
@dignifiedquire
Copy link
Contributor

@ramfox please rebase

dignifiedquire
dignifiedquire previously approved these changes Oct 7, 2022
@ramfox ramfox merged commit 6ba6b57 into main Oct 7, 2022
@ramfox ramfox deleted the ramfox/unixfs_size branch October 7, 2022 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Write blocksizes & filesize for unixfs nodes
2 participants