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

fix: files ls should return string #3352

Merged
merged 5 commits into from
Oct 27, 2020

Conversation

achingbrain
Copy link
Member

Supersedes #3345 #2939
Fixes #3330 #2948

BREAKING CHANGE: types returned by ipfs.files.ls are now strings, in line with the docs but different to previous behaviour

Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this also brings this inline with the go-ipfs behavior.

@achingbrain achingbrain merged commit 16ecc74 into master Oct 27, 2020
@achingbrain achingbrain deleted the fix/files-ls-should-return-string branch October 27, 2020 13:22
SgtPooki referenced this pull request in ipfs/js-kubo-rpc-client Aug 18, 2022
Supersedes #3345 #2939
Fixes #3330 #2948

BREAKING CHANGE: types returned by `ipfs.files.ls` are now strings, in line with the docs but different to previous behaviour

Co-authored-by: Geoffrey Cohler <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPFS.files.ls returns integer not 'directory'/'file' in type attribute
4 participants