- 23 Jan, 2019 1 commit
-
-
Łukasz Magiera authored
-
- 20 Jan, 2019 1 commit
-
-
Lucas Molas authored
-
- 17 Jan, 2019 1 commit
-
-
Lucas Molas authored
-
- 16 Jan, 2019 12 commits
-
-
Lucas Molas authored
-
Lucas Molas authored
-
Lucas Molas authored
-
Bamvor Zhang authored
Notes of removing UnixfsNode: - `NewLeafNode` will return the `FSNodeOverDag` with the given `fsNodeType`. While the old `NewLeaf`: `if data is nil the type field will be TRaw (for backwards compatibility), if data is defined (but possibly empty) the type field will be TRaw.`. Not sure if I should follow this. And because of this, I keep the `NewLeafNode` and `NewLeafDataNode`, not rename them to `NewLeaf` and `GetNextDataNode`. - There is no functions in importer/helpers/helpers.go. I am thinking if I should move the `FSNodeOverDag` part of importer/helpers/dagbuilder.go into importer/helpers/helpers.go. - `GetDagNode` return FilestoreNode for RawNode. But I do not understand how it is used in the `DagBuilderHelper.AddChild`. And `FileSize` do not calculate the size of RawNode because there is no flag of Raw in `FSNodeOverDag`. License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
This patch is the part of trickledag work which is similar to the merkledag work in commit 474b77a2bdb1c ("importer: remove `UnixfsNode` from the balanced builder"). Two helper functions(fillTrickleRecFSNode and FillFSNodeLayer) is introduced temporarily for modifing the Layout functions. These two funtions will be removed when all the code of UnixfsNode is removed in trickledag.go. Test ipfs add and get commands to check whether get the same hash of file after the code changes. License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
After fsNodeType in NewLeafNode is supported by commit 85897b3f89301 ("dag: add fsNodeType in NewLeafNode and NewLeafDataNode"). Move comments in NewLeafNode to importer/balanced/builder.go to clarify why TFile is used by balanced builder as leaves. License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
Bamvor Zhang authored
NewLeafNode and NewLeafDataNode is introduced in commit 474b77a2bdb1c ("importer: remove `UnixfsNode` from the balanced builder"). It is intended to return ipfs.Node instead of UnixfsNode. But it only support creating the TFile leaf node for merkledag. This commit add fsNodeType to above two functions and update the code in dagbuild.go. Further patches of trickledag will make use of them and pass TRaw to create leaf node. License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
- 15 Jan, 2019 3 commits
-
-
Lucas Molas authored
-
Overbool authored
-
Overbool authored
-
- 09 Jan, 2019 1 commit
-
-
Steven Allen authored
-
- 21 Dec, 2018 4 commits
-
-
Steven Allen authored
Fix/handle overflow
-
Steven Allen authored
I didn't do this before because this datastructure *technically* isn't specific to sharded directories but, really, that was just even more confusing.
-
Steven Allen authored
1. It's less confusing. Murmur64 is something our library supports by truncating a Murmur128 hash. 2. We'll only use the part we need anyways. directory trees.
-
Steven Allen authored
If we have a deep enough directory, we could walk off the end of the bit array.
-
- 18 Dec, 2018 2 commits
-
-
Hector Sanjuan authored
gx publish 1.2.11
-
Hector Sanjuan authored
-
- 13 Dec, 2018 3 commits
-
-
Łukasz Magiera authored
go-ipfs-files 2.0
-
Łukasz Magiera authored
-
Łukasz Magiera authored
-
- 07 Dec, 2018 1 commit
-
-
Steven Allen authored
-
- 04 Dec, 2018 1 commit
-
-
Bamvor Zhang authored
License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
- 28 Nov, 2018 1 commit
-
-
Kevin Atkinson authored
-
- 11 Nov, 2018 2 commits
-
-
Hannah Howard authored
gx publish 1.2.7
-
hannahhoward authored
-
- 09 Nov, 2018 1 commit
-
-
Bamvor Zhang authored
Fix value of roughLinkSize. Add default value of DefaultLinksPerBlock. And delete calc_test.go as it is deleted in commit bc79ae17 ("refactor importer package with trickle and balanced dag generation") License: MIT Signed-off-by: Bamvor Zhang <jian.zhang@ipfsbit.com>
-
- 08 Nov, 2018 1 commit
-
-
Steven Allen authored
-
- 03 Nov, 2018 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 02 Nov, 2018 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-