Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

docs: fix typos in example code #57

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/unixfs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export interface UnixFS {
*
* ```typescript
* const cid = await fs.addFile({
* path: './foo.txt'
* path: './foo.txt',
* content: Uint8Array.from([0, 1, 2, 3]),
* mode: 0x755,
* mtime: {
Expand Down Expand Up @@ -482,7 +482,7 @@ export interface UnixFS {
*
* ```typescript
* for await (const entry of fs.ls(directoryCid)) {
* console.info(etnry)
* console.info(entry)
* }
* ```
*/
Expand Down