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

docs: update files.rm example #3797

Merged
merged 1 commit into from
Aug 9, 2021
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
2 changes: 1 addition & 1 deletion packages/ipfs-core-types/src/files/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export interface API<OptionExtension = {}> {
* await ipfs.files.rm('/my/beautiful/file.txt')
*
* // To remove multiple files
* await ipfs.files.rm('/my/beautiful/file.txt', '/my/other/file.txt')
* await ipfs.files.rm(['/my/beautiful/file.txt', '/my/other/file.txt'])
*
* // To remove a directory
* await ipfs.files.rm('/my/beautiful/directory', { recursive: true })
Expand Down