You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/utils/README.md
+87Lines changed: 87 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,93 @@ npm install @hash-stream/utils
10
10
11
11
## Usage
12
12
13
+
### `index/unixfs`
14
+
15
+
Supports building unixfs like indexes for content that is not at rest stored as content addressable data, but can be served likewise.
16
+
17
+
#### `writeUnixFsFileLinkIndex`
18
+
19
+
Creates an index of `FileLink` entries for a given blob using UnixFS layout and writes them to one or more `IndexWriter`s. It returns the multihash of the final chunk in the DAG (the "containing multihash").
0 commit comments