-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Files Quest #156
Files Quest #156
Conversation
if (err) { | ||
throw new Error(err) | ||
} | ||
res.on('data', (data) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can just res.pipe(process.stdout)
try { | ||
fs.mkdirSync(dir + filepath) | ||
} catch (err) { | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why can this err
be ignored?
@Voxelot can you break this PR into two that
I'm requesting this because it seems that you are close, or even 100% done for the 1st and still a bit far from having the 2nd 100%. Currently, not having the 1st complete is blocking the pursuit of js-ipfs running on the browser with the Files API. This will also give you a chance to get a clean commit history for these PR's |
Closing this in favor of new HTTP branch and completion of CLI PR 204 |
TODO
- [x] add CLI (tuples suplied to new awesomeness importer) - [ ] progress bar - [x] fix path names - [x] add HTTP-API - [x] cat CLI - [x] throw daemon not supported err - [x] cat HTTP-API - [x] get CLI - [ ] add progress bar - [x] get HTTP-API - [ ] get JS-IPFS-API - [x] Fix add to respond to no path supplied - [x] fix INIT to place config with new importer - [x] Tests - [x] files add core - [x] files add cli - [x] files add http-api - [x] files cat core - [x] files cat cli - [x] files cat http-api - [x] files get core - [x] files get cli - [x] files get http-apiBlockers
- [x] unixfs-engine readable stream error issueCall to Action
@bgrieder if you are still interested in the files commands that you were working we would love some help on this PR. Finally organized everything into a place that we can collab. This should close pull 104
@xicombd as I get into writing the http things I could use some help if possible. I hear you are pro at these things :D
Let the quest begin!