Skip to content

Commit 25f9f25

Browse files
authored
Merge pull request #28 from ipfs/update-readme
chore: update data structure
2 parents 9a94216 + 581428a commit 25f9f25

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

README.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@
2121

2222
## Table of Contents
2323

24-
- [Install](#install)
25-
- [npm](#npm)
26-
- [Use in Node.js](#use-in-nodejs)
27-
- [Use in a browser with browserify, webpack or any other bundler](#use-in-a-browser-with-browserify-webpack-or-any-other-bundler)
28-
- [Use in a browser Using a script tag](#use-in-a-browser-using-a-script-tag)
29-
- [Usage](#usage)
30-
- [Examples](#examples)
31-
- [Create a file composed by several blocks](#create-a-file-composed-by-several-blocks)
32-
- [Create a directory that contains several files](#create-a-directory-that-contains-several-files)
33-
- [API](#api)
34-
- [unixfs Data Structure](#unixfs-data-structure)
35-
- [create an unixfs Data element](#create-an-unixfs-data-element)
36-
- [add and remove a block size to the block size list](#add-and-remove-a-block-size-to-the-block-size-list)
37-
- [get total fileSize](#get-total-filesize)
38-
- [marshal and unmarshal](#marshal-and-unmarshal)
39-
- [Contribute](#contribute)
40-
- [License](#license)
24+
- [ipfs-unixfs JavaScript Implementation](#ipfs-unixfs-javascript-implementation)
25+
- [Lead Maintainer](#lead-maintainer)
26+
- [Table of Contents](#table-of-contents)
27+
- [Install](#install)
28+
- [npm](#npm)
29+
- [Use in Node.js](#use-in-nodejs)
30+
- [Use in a browser with browserify, webpack or any other bundler](#use-in-a-browser-with-browserify--webpack-or-any-other-bundler)
31+
- [Use in a browser Using a script tag](#use-in-a-browser-using-a-script-tag)
32+
- [Usage](#usage)
33+
- [Examples](#examples)
34+
- [Create a file composed by several blocks](#create-a-file-composed-by-several-blocks)
35+
- [Create a directory that contains several files](#create-a-directory-that-contains-several-files)
36+
- [API](#api)
37+
- [unixfs Data Structure](#unixfs-data-structure)
38+
- [create an unixfs Data element](#create-an-unixfs-data-element)
39+
- [add and remove a block size to the block size list](#add-and-remove-a-block-size-to-the-block-size-list)
40+
- [get total fileSize](#get-total-filesize)
41+
- [marshal and unmarshal](#marshal-and-unmarshal)
42+
- [Contribute](#contribute)
43+
- [License](#license)
4144

4245
## Install
4346

@@ -113,7 +116,7 @@ message Data {
113116
}
114117
115118
message Metadata {
116-
required string MimeType = 1;
119+
optional string MimeType = 1;
117120
}
118121
```
119122

0 commit comments

Comments
 (0)