8e6519bd5a
Merge pull request #4640 from ipfs/doc/godoc-importer
...
Docs: golint-ify "importers" module
2018-02-03 15:30:27 -08:00
1de040d0b7
Use a bitswap session for 'Cat'
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-02-02 12:25:20 -08:00
5d90aa2a8f
Docs: golint-ify "importers" module
...
This fixes all golint warnings in the importers module, adding
documentation and module descriptions.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-01 23:47:38 +01:00
f9d935b984
rename import of go-ipld-format from node/format to ipld
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-29 11:55:34 -08:00
699b2c4bb8
make code-climate happier
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:43:03 -08:00
d154b4a990
merkledag: switch to new dag interface
...
Also:
* Update the blockstore/blockservice methods to match.
* Construct a new temporary offline dag instead of having a
GetOfflineLinkService method.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
730754d9d2
dagmodifier: remove useless offset update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-25 15:13:19 -08:00
fe8846fcd7
gx: mass update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-01-24 15:58:44 -08:00
dea8c4d70b
test promised don't get allocated where not wanted
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2018-01-02 13:35:02 -08:00
092df586d1
clear out memory after reads from the dagreader
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-31 13:14:27 -08:00
dfe7ef4fcf
gx: update go-multihash
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-12-14 13:09:51 -08:00
76e4dcf757
appease codeclimate
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-12-04 10:59:57 -08:00
f8eaae329f
fix hamt delete issue
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-11-18 08:39:38 -08:00
005d243cd3
Merge pull request #4320 from ipfs/fix/gateway-seeker
...
gateway: fix seeker can't seek on specific files
2017-10-20 13:15:32 +01:00
0182e5977c
Documentation.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
f2fbfdf291
mfs: inherit CID prefix from from parent directory
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
77e9b8ddf9
Test for alternative hash function in Dag Modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:42 -04:00
2e15dcb647
Enable CidV1 (and other prefixes) in the Dag Modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 13:30:53 -04:00
7302c3ab66
Provide support for raw leaves in DAG modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 12:59:40 -04:00
189cf0cb03
Test raw leaves in trickle dag tests.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 12:59:40 -04:00
3fbb77153b
gateway: custom seeker for files
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-18 22:25:36 +02:00
e71dce5dfb
gateway: fix seeker can't seek on specific files
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-18 20:10:22 +02:00
70d6629940
gx: update go-cid, go-multibase, base32
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-09-01 17:46:49 -07:00
cccc6a94a3
update go-multihash and bubble up changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-07-11 19:27:43 -07:00
8ab93aaeb2
Update go-datastore to 1.2.2, go-cid to 0.7.16
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 20:18:57 +02:00
13636bef50
blocks: gx import go-block-format
...
And updated related dependencies.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
3f6a7b7b81
dagmodifer: refactor appendData method
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-26 19:12:20 -04:00
47001548e1
Finish basic support for raw nodes in dag modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-06-26 19:12:07 -04:00
c75ac6a7fa
Allow dagmodifier to be created (but not used) with raw nodes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-06-26 19:12:07 -04:00
b77d5aa13d
hamt: reinstate a useful debug function
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 14:04:30 -04:00
096b3232d5
address PR comments; remove commented/dead code
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-06-01 12:13:04 -04:00
c5df8f0796
apply the megacheck tool to improve code quality
...
License: MIT
Signed-off-by: Zach Ramsay <zach.ramsay@gmail.com>
2017-05-31 16:56:11 -04:00
a22cae1bce
fix coreapi unixfs resolving
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 21:20:48 -07:00
0597a04924
Fix sharding memory growth, and fix resolver for unixfs paths
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-30 13:48:28 -07:00
b71ef8354e
Fix gateway handling of sharded directories
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 13:01:22 -07:00
9350c513f1
Documentation
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:47:48 -04:00
8a47786c67
hamt: support using CIDv1 by allowing the prefix to be set
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:41:25 -04:00
076d0bd9b1
merkeldag: change SetPrefix param to a pointer and reset the prefix on nil
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
518adec022
adder: add support for using CidV1
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-04-25 23:36:39 -04:00
b15470d548
bubble up updates from go-multihash changes
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-20 20:28:04 +02:00
ff997c1f7a
Merge pull request #3824 from ipfs/fix/govet/some-error
...
fix: multiple govet warnings
2017-03-23 20:56:10 -07:00
65b9716989
fix go vet issues in hamt sharding PR
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-23 18:01:57 -07:00
6546aeade7
fix: multiple govet warnings
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 01:02:50 +01:00
c4c665395a
add global config switch for sharding
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-23 16:42:31 -07:00
62bb7c966d
chekc that size input to newHamtShard is a power of two
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
8d4791c9bb
add more docs on hamt
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
c8af993a8c
iterator technique for unixfs dir listing
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
bb09ffd756
implement an HAMT for unixfs directory sharding
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-21 20:19:22 -07:00
b1588c7162
make raw leaves work with 'ipfs get'
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 20:12:05 -08:00
b4eeff2d84
update go-multihash and bubble up deps
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-02-12 12:25:41 -08:00