Commit Graph

31 Commits

Author SHA1 Message Date
Łukasz Magiera
6401a9191e gx: Update go-datastore to 1.4.0
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-12-02 14:55:26 -08:00
Steven Allen
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
Jeromy
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
Łukasz Magiera
2b827d6662 gx updates: Fix CI
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-04 21:43:52 +02:00
Łukasz Magiera
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
Łukasz Magiera
4b8a9a3f9f Update go-datastore to 1.2.1
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-03 20:17:03 +02:00
Steven Allen
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
Steven Allen
bccd4d4e8f blocks: move block format to it's own repo
We need to reference it from outside of this repo.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-06-29 22:12:14 +02:00
Michael Muré
73010ff593 Filestore: more verbose error when adding a file from outside of the root
License: MIT
Signed-off-by: Michael Muré <batolettre@gmail.com>
2017-06-08 16:20:14 +09:00
zramsay
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
Kevin Atkinson
332a7967f9 filestore: add "--file-order" option to "filestore ls" and "verify"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-05-23 17:40:20 -04:00
Jeromy
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
Hector Sanjuan
8c40bd9194 Filestore: make golint happy
Comments for exported functions and little else.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-24 20:41:24 +01:00
Hector Sanjuan
3b6216b239 Make Golint happy in the blocks submodule.
This has required changing the order of some parameters and
adding HashOnRead to the Blockstore interface (which I have in turn
added to all the wrapper implementations).

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-24 16:46:42 +01:00
Jakub Sztandera
6546aeade7
fix: multiple govet warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-03-24 01:02:50 +01:00
Kevin Atkinson
96269e0256 filestore: Refactor.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 19:55:12 -04:00
Kevin Atkinson
81af0347e9 filestore util: change "???..." to "<corrupt key>"
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 19:55:05 -04:00
Kevin Atkinson
f7efb34e68 filestore util: Add 'filestore dups' command. Enhance tests.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
1f2e174e6a filestore: use the same codes in ListRes and CorruptReferenceError.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
886a6fe166 filestore: be more specific when there is a problem reading the backing file.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
13f617d139 filestore util: allow listing/verifying of individual blocks.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
4bf43047d8 filestore util: basic filestore commands.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-22 16:24:56 -04:00
Kevin Atkinson
8082af7988 Use buffered channels in AllKeysChan to increase performance.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
8e1a03dd96 Refactor.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Kevin Atkinson
459a4b3d72 Move block verification into readDataObj.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 00:37:24 -08:00
Jeromy
8fce0c4161 validate data read from fsrefstore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
c18ec9824e add test for deletes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
36feaa4b10 fix delete logic
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
62d23c0648 skip putting blocks we already have
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
e12adeca2b use proper batching for filestore puts
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-06 00:37:24 -08:00
Jeromy
2884c84343 Implement basic filestore 'no-copy' functionality
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-03-06 00:37:24 -08:00