Skip to content

Commit b4d84d9

Browse files
committed
docs: update readme to add sharded directories
1 parent 13eaf26 commit b4d84d9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,16 @@ message Data {
106106
File = 2;
107107
Metadata = 3;
108108
Symlink = 4;
109+
HAMTShard = 5;
109110
}
110111
111112
required DataType Type = 1;
112113
optional bytes Data = 2;
113114
optional uint64 filesize = 3;
114115
repeated uint64 blocksizes = 4;
116+
117+
optional uint64 hashType = 5;
118+
optional uint64 fanout = 6;
115119
}
116120
117121
message Metadata {
@@ -125,7 +129,7 @@ message Metadata {
125129
var data = new UnixFS(<type>, [<content>])
126130
```
127131

128-
Type can be: `['raw', 'directory', 'file', 'metadata', 'symlink']`
132+
Type can be: `['raw', 'directory', 'file', 'metadata', 'symlink', 'hamt-sharded-directory']`
129133

130134
#### add and remove a block size to the block size list
131135

@@ -161,4 +165,3 @@ This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/c
161165
## License
162166

163167
[MIT](LICENSE)
164-

0 commit comments

Comments
 (0)