Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Adds begin/end byte slices to exporter #207

Merged
merged 1 commit into from
Mar 22, 2018

Conversation

achingbrain
Copy link
Collaborator

I've flip-flopped slightly on #202 - I think it would be better to add the begin/end arguments to the existing exporter instead of introducing the new reader module as the new module increases the API surface area while not handling as many ipfsPath edge cases as the exporter so is consequently less useful and also harder to reason about.

This PR removes the reader and adds the stream slicing logic to the exporter instead. It preserves the tests added as part of #202.

daviddias
daviddias previously approved these changes Mar 21, 2018
Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

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

LGTM but let's wait on @pgte for final approval :)

pgte
pgte previously approved these changes Mar 22, 2018
Copy link
Contributor

@pgte pgte left a comment

Choose a reason for hiding this comment

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

LGTM!

@achingbrain achingbrain dismissed stale reviews from pgte and daviddias via 6325db9 March 22, 2018 12:06
@daviddias daviddias merged commit 8e11d77 into ipfs-inactive:master Mar 22, 2018
@ghost ghost removed the status/in-progress In progress label Mar 22, 2018
@achingbrain achingbrain deleted the consolidate-readable branch March 23, 2018 10:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants