feat: files (mfs) api implementation#6786
feat: files (mfs) api implementation#6786hacdias wants to merge 3 commits intoipfs:masterfrom hacdias:feat/coreapi-files
Conversation
|
@Stebalien I started working on this to support Files API through Core API. I wanted to ask you if you feel this is the right direction... I created a |
|
I think this is the right direction. We can unify the unixfs and files APIs later (and deprecate this interface when we do that). |
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
|
@Stebalien I think this is done and only needs to merge the interface and remove the replace here. I don't understand why sharness tests are failing. I checked on my laptop and only mounting ones seem to be failing. |
|
I'm not sure why they're passing for you. Try running:
|
|
@Stebalien is this something still desirable or has it been done/can be closed? I don't have time in the foreseeable future to work on this PR. |
This implements the Files (MFS) API
ipfs files <cmd>related code to an helper package calledfileshelperscount=0infiles writeandfiles read. To simplify, if count equals 0, then we want to write or read everything. It doesn't even make sense to not read or not write anything.License: MIT
Signed-off-by: Henrique Dias hacdias@gmail.com