Skip to content

Commit 9dde293

Browse files
committed
implement an HAMT for unixfs directory sharding
License: MIT Signed-off-by: Jeromy <[email protected]>
1 parent 1eb94e6 commit 9dde293

File tree

8 files changed

+929
-3
lines changed

8 files changed

+929
-3
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@
189189
"hash": "QmVvJ27GcLaLSXvcB4auk3Gn3xuWK5ti5ENkZ2pCoJEYW4",
190190
"name": "autobatch",
191191
"version": "0.2.0"
192+
},
193+
{
194+
"author": "whyrusleeping",
195+
"hash": "QmfJHywXQu98UeZtGJBQrPAR6AtmDjjbe3qjTo9piXHPnx",
196+
"name": "murmur3",
197+
"version": "0.0.0"
192198
}
193199
],
194200
"gxVersion": "0.4.0",

unixfs/format.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const (
1717
TDirectory = pb.Data_Directory
1818
TMetadata = pb.Data_Metadata
1919
TSymlink = pb.Data_Symlink
20+
THAMTShard = pb.Data_HAMTShard
2021
)
2122

2223
var ErrMalformedFileFormat = errors.New("malformed data in file format")

0 commit comments

Comments
 (0)