Ł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
ForrestWeston
96e1315cff
AddWithContext wraps custom context
...
AddWithContext should use the custom context when calling
NewAdder
License: MIT
Signed-off-by: ForrestWeston <forrest@protocol.ai>
2017-11-28 10:00:47 -08:00
Steven Allen
76e1da02a8
gx: massive update
...
Note: This commit is technically broken. However, I need to make a bunch of
cmds changes to make this work and I'd rather not bundle both changes into a
single commit.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-11-20 22:20:27 -08:00
Jan Winkelmann
f287524949
cmd: use go-ipfs-cmds
...
License: MIT
Signed-off-by: keks <keks@cryptoscope.co>
2017-11-17 15:22:41 +01:00
Kevin Atkinson
d29930c031
Eliminate Prefix field from MFS root, use MkdirOpts.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04: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
Steven Allen
19c3bd82a3
extract update go-testutil
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-08-16 17:23:01 -07:00
Jeromy Johnson
02dc2604b3
Merge pull request #4082 from te0d/feat/commands/add-size
...
ipfs add: added size to response of `ipfs add` command
2017-07-29 14:49:20 -07:00
Jeromy Johnson
181dd0061c
Merge pull request #4053 from Quantomicus/bugfix
...
Fixes #4003
2017-07-23 12:22:58 -07:00
Tom O'Donnell (te0d)
0a01ffb87f
ipfs add: added size to response of ipfs add command
...
The `ipfs add` command was modified to include the added
node's size as a string. The size is included in the
dagnode info sent over the output channel.
License: MIT
Signed-off-by: Tom O'Donnell <todonnel91@gmail.com>
2017-07-20 13:19:31 -04:00
Quantomic
049bca6d09
bandaid it instead
...
License: MIT
Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
2017-07-14 20:09:55 +02: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
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
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
Jeromy Johnson
76cd541040
Merge pull request #3888 from ipfs/fix/add-mem-growth-hack
...
Flush cached directories every so often during an add
2017-04-30 21:56:49 -07:00
Jeromy
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
Jeromy
e2b2d0996f
Flush cached directories every so often during an add
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-04-29 12:27:09 -07:00
Kevin Atkinson
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
Kevin Atkinson
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
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
Jeromy
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
Jeromy
c4c665395a
add global config switch for sharding
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-23 16:42:31 -07:00
Jeromy
e8764345d6
fix handling of filestore nodes in mfs during add
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-03-21 20:19:22 -07:00
Jeromy
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
Kevin Atkinson
96f8c17b0f
gc: return Result instead of two channels
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:14 -05:00
Kevin Atkinson
f1938f3cbd
gc: output all errors to a channel
...
Errors from ColoredSet are now reported as encountered and errors
encountered when deleting blocks are no longer ignored.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
gc: report errors from ColoredSet as encountered
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-06 14:26:09 -05: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
Kevin Atkinson
6e4fd937fd
Refactor EnumerateChildren to avoid need for bestEffort parameter.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-03-02 05:19:41 -05:00
Jeromy
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
Lars Gierth
71a03fe35d
coreunix: fix Add() docs regarding pinning
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-18 01:09:23 +01:00
Jeromy
53d47669da
bubble up go-datastore deps
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
Jakub Sztandera
724515104e
Make unixio.DagReader an interface
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-21 18:10:21 +01:00
Jeromy
396c629301
update to newer ipld node interface with Copy and better Tree
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-15 18:00:49 -08:00
Lars Gierth
036ca3a764
coreapi: add Add()
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-11-07 18:25:49 +01:00
Jeromy
67c2a4ec14
make path resolver no longer require whole node for construction
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 15:04:44 -07:00
Jeromy
eac13abaec
update to new cid and ipld node packages
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 09:54:04 -07:00
Kevin Atkinson
65ffff2418
Add tests that PosInfo() is getting set.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-24 16:37:57 -04:00
Kevin Atkinson
73f9a90cbf
Create a FilestoreNode object to carry PosInfo
...
When doing a filestore add, we wrap whatever nodes we create in a
FilestoreNode object and add the PosInfo to it so that the filestore
will be able to extract information as needed.
Edited by whyrusleeping
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-24 16:30:45 -04:00
Jeromy
8ce9963289
fix add/cat of small files
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-18 15:26:44 -07:00
Jeromy
ded60a7356
unixfs: allow use of raw merkledag nodes for unixfs files
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-17 16:51:39 -07:00
Jeromy
01aee44679
merkledag: change 'Node' to be an interface
...
Also change existing 'Node' type to 'ProtoNode' and use that most
everywhere for now. As we move forward with the integration we will try
and use the Node interface in more places that we're currently using
ProtoNode.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 08:16:03 -07:00
Jeromy Johnson
015d476c4f
Merge pull request #3297 from ipfs/feat/bitswap-cid
...
bitswap: protocol extension to handle cids
2016-10-12 10:13:30 -04:00
Jeromy
affb06d558
run gofmt
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 07:00:38 -07:00
Jeromy
f4d7369c4a
bitswap: protocol extension to handle cids
...
This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol
adds a 'payload' field to the protobuf message and deprecates the
existing 'blocks' field. The 'payload' field is an array of pairs of cid
prefixes and block data. The cid prefixes are used to ensure the correct
codecs and hash functions are used to handle the block on the receiving
end.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-10 08:19:31 -07:00
Jeromy
282bdc4816
cid: integrate cid into bitswap and blockstores
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-08 12:14:58 -07:00
Kevin Atkinson
772164cc7a
Fix EnumerateChildren & hasChild to take a *cid.Cid instead of []*mdag.Link
...
Author: Kevin Atkinson <k@kevina.org>
Fix EnumerateChildren & hasChild to take a *cid.Cid instead of []*mdag.Link
Author: Jeromy Johnson <why@ipfs.io>
make FetchGraph use a cid
pin: fix TestPinRecursiveFail
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-06 11:55:31 -04:00
Kevin Atkinson
721df367a2
Don't use a separate LinkService for DAGService.GetLinks()
...
Instead make LinkService a part of DAGService. The LinkService is now
simply an interface that DAGService implements. Also provide a
GetOfflineLinkService() method that the GC uses to get an offline
instance.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-06 11:52:39 -04:00