1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 05:52:20 +08:00

236 Commits

Author SHA1 Message Date
f710b31ff4 unixfs: clean path in DagArchive
Fixes #4720.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-03-04 20:10:19 -03:00
381977476f Extract: chunker: rename "chunk" to "chunker" as it is more consistent
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:49:39 +01:00
76d228cf75 Extract chunker: Use last gx'ed go-ipfs-chunker
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:43:29 +01:00
1811425aab go-ipfs-chunker: Use the stable gx'ed release
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:51 +01:00
f47424d9b0 Fix missing rename in tests
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
c613fbec38 WIP: Extract: importers/chunk module as go-ipfs-chunker
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-08 12:34:15 +01:00
f4f450d774 Golint: remove extra // in comment
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 12:33:58 +01:00
3ec869fee7 Golint: improve unixfs/dagreader.go comments
Per @whys suggestions

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-07 10:07:19 +01:00
576872076c unixfs/mod: use errors.New() for all defined errors
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:19:30 +01:00
79baf42e1e Golint: improve io.Find documentation
per @stebalien's comment

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:17:59 +01:00
8bb45fda8e Golint: make BufDagReader public
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 19:14:48 +01:00
ca4271b782 Golint: unixfs/io
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 13:50:02 +01:00
f074292e48 Golint: unixfs/mod unixfs/test
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 13:50:02 +01:00
16934b9c68 Golint: unixfs/hamt
Note, stuttering required renaming of HamtShard to Shard.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 13:50:02 +01:00
694ab67952 Golint: unixfs/archive
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 12:43:13 +01:00
16a54a8561 Golint: unixfs main module
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-06 12:05:41 +01:00
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