1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-27 03:14:59 +08:00

93 Commits

Author SHA1 Message Date
4940c3e0ae Merge pull request #655 from jbenet/feat/dagseek
Implement io.Seeker on unixio.DAGReader
2015-01-26 19:33:41 -08:00
45e4352c9c dropped down log.Errors 2015-01-26 19:13:44 -08:00
ba4ea139b9 address concerns from PR 2015-01-27 01:33:09 +00:00
0023cb3097 refactor and clean up dagreader 2015-01-27 01:33:09 +00:00
26826bd55e implement seeking in the dagreader 2015-01-27 01:33:09 +00:00
5292617290 unixfs/tar: Rename p to gopath 2015-01-26 17:02:48 -08:00
5a60b7b2e7 unixfs/tar: Use current date for file timestamps 2015-01-26 16:57:55 -08:00
6c854ce897 unixfs/tar: Ignore /ipfs/ in path 2015-01-24 21:40:19 -08:00
41d5c822d7 core/commands: get: Place files at root of TAR when using a multi-element ipfs path 2015-01-24 21:40:19 -08:00
16c45a7587 unixfs/tar: Fixed reader not properly buffering headers 2015-01-24 05:35:05 -08:00
fe48ae2dd6 Extracted TAR archive building/reading code out of 'ipfs get' 2015-01-24 03:06:25 -08:00
edd7062c56 mark ipns as readonly 2015-01-10 01:22:44 -08:00
e3cf893616 implement recursive indirect blocks
improve efficiency of multilayered indirect blocks

clean up tests

panic cleanup

clean up logic, improve readability

add final root node to the dagservice upon creation

importer: simplified dag generation

test: updated hashes using latest code

@whyrusleeping this is why the sharness tests
were failing: the hashes are added manually to
make sure our generation doesn't change.

cleanup after CR

fix merkledag tests

fix small block generation (no subblocks!)
2015-01-06 19:43:56 +00:00
670d0244b4 feat(bitswap) make offline exchange query datastore
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 23:31:01 -08:00
3a6b6c6974 cleanup, use a workgroup over channels 2014-12-05 20:53:32 +00:00
f0a4fdad59 some bitswap cleanup 2014-12-05 20:53:32 +00:00
bef75d5061 fix(bitswap/testutils) vendor
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:53:30 +00:00
ed4509923c tracking down a bug dhthell found, added asserts and better logging. 2014-12-05 20:53:26 +00:00
15d4f82945 some cleanup, and fix minor bug in dagreader from previous commit 2014-12-05 20:53:26 +00:00
d53deebada wire GetBlocks into blockservice 2014-12-05 20:53:26 +00:00
0ce6071fea revamp BatchFetch a bit 2014-12-05 20:53:25 +00:00
d0304def6b refactor(blockstore, blockservice) use Blockstore and offline.Exchange
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-05 20:53:24 +00:00
8c20921a95 some more docs 2014-11-08 21:42:36 -08:00
2e2d02a741 probably fix OSX ipns bug 2014-11-07 14:13:11 -08:00
88bf39118c comment comment comment comment 2014-11-03 03:02:56 +00:00
09004e4989 finish addressing PR concerns 2014-11-01 16:07:56 -07:00
ce223eef61 some small cleanup of logging 2014-11-01 16:07:56 -07:00
07733b17b3 msgio pooling first hack 2014-11-01 16:07:56 -07:00
ae339a0320 remove dagwriter in favor of new importer function 2014-10-31 05:03:42 +00:00
cb22b62a9b util: remove broken rand 2014-10-30 04:14:05 -07:00
f0d823c2db fix tests (circular import) 2014-10-30 01:17:26 -07:00
18ada93ec3 rewrite add command to use dagwriter, moved a pinner into the dagwriter for inline pinning 2014-10-30 04:40:48 +00:00
056699cebe convert DAGService to an interface 2014-10-25 22:15:19 -04:00
184c25430b go-vet friendly codebase
- distinguish log.Error and log.Errorf functions
- Initialize structs with field names
- A bit of unreachable code (defers)
2014-10-25 03:46:39 -07:00
210b5df78c use my go-logging fork
until https://github.com/op/go-logging/pull/30 is merged
2014-10-25 03:43:17 -07:00
a1b61f399c refactor(unixfs/pb) mv proto PBData -> Data, etc. 2014-10-22 21:52:59 -07:00
454d1df4aa fix(unixfs/pb) rename proto package -> unixfs_pb 2014-10-22 15:54:18 -07:00
75a860ca2b refactor(unixfs) move proto to pb package
not internal since io needs it

fix(fuse/ipns) use pb package

fix(fuse) import protos from unixfs/pb package
2014-10-22 15:54:17 -07:00
f7c1ed39e0 renamed datastore.go -> go-datastore 2014-10-21 15:10:58 -07:00
ce1f8da04e add another ipns test to simulate coalesced writes 2014-10-18 12:07:46 -07:00
38177b489d add another test to try and reproduce data loss issue 2014-10-08 22:38:33 +00:00
0ffc20384e make vendor is your friend
cc @whyrusleeping
2014-10-08 14:48:34 -07:00
093c8fb04d Rework package structure for unixfs and subpackage
cc @jbenet
2014-10-08 21:14:18 +00:00