Use a .dat folder to resume links and RC2 API (#476, #484)#485
Use a .dat folder to resume links and RC2 API (#476, #484)#485joehand merged 1 commit intodat-ecosystem:masterfrom
Conversation
|
@joehand "Does not support updated files" - I need to fix this right? |
|
Why is there no flag to exit on content downloaded? That sounds very useful when scripting stuff. |
|
I actually like a separate cmd that fetches and exits more than a flag now that i think about it. |
@mafintosh ya, we need to store the mtimes in hyperdrive for this. Once we have that, will be straightforward for me to check.
Oh ya, didn't think about that use. I can add it. |
Ya I think that'd make sense - but do we want to support both of those? We could change |
|
@joehand what about this?
(for now share will require the 2nd destination argument as you describe above when using |
| var path = require('path') | ||
| var test = require('tape') | ||
| var rimraf = require('rimraf') | ||
| var mkdirp = require('mkdirp') |
There was a problem hiding this comment.
mkdirp is missing from devdeps
|
|
@joehand if its easy to add again could you make it store the previously used port in level? like we did before. |
|
Tests are green. I'm happy. I think we should merge this into master and use it for a bit and see how it feels. @joehand before potentially merging this could you squash the commits? |
|
Yeah I'm down for merging and in the next week getting some direct feedback and see where the pain points and bugs are |
| --port, -p set a specific inbound tcp port | ||
|
|
||
| dat get <dat-link> <directory> | ||
| dat <dat-link> <directory> |
There was a problem hiding this comment.
why not dat <directory> [link] ?
@Karissa a few reasons we went with
|
|
@maxogden updated with your output suggestions. I'll smush commits and merge tomorrow (CC: @mafintosh, @Karissa). |
|
@joehand 🎉 LGTM 🎉 |
add .dat folder and use magic + share/get cmds more dat folder work & updated tests stop downloads after finishing fix share with hash folder name fix args update list and fix download dir option start updating tests only add new files on resume update cli output and better resumes update with mafintosh comments save port argument remove errant log update commands and exit on get fix dependencies use sync command simplify output and update tests/readme
General Changes
.datfolder to resume links in the given directory (share & download)API Changes
--listoption--staticto--snapshotOutput Changes