ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
246 stars 68 forks source link

Catting file bytes #104

Closed amiller68 closed 2 years ago

amiller68 commented 2 years ago

I implemented a client method that cats bytes of files using offset and length arguments. This implements more of the IPFS HTTP API specified here: https://docs.ipfs.io/reference/kubo/rpc/#api-v0-cat

Please comment on how I might better structure/organize the code so it can be included in the core repo.

amiller68 commented 2 years ago

I'll get on this later today. Thanks for the feedback!

amiller68 commented 2 years ago

@ferristseng I think I addressed your concerns in my latest commit. Please let me know if this is more up-to-snuff

ferristseng commented 2 years ago

@ferristseng I think I addressed your concerns in my latest commit. Please let me know if this is more up-to-snuff

Looks great! Thank you!