Skip to content

MFS directory listings with l: true changes the file list order #5181

@achingbrain

Description

@achingbrain

It seems that the order of directory contents returned from ipfs.files.ls api invocations changes if you pass l: true or l: false.

Compare (these tests have not previously only run against go-ipfs as there's been no mfs implementation in js-ipfs):

https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/files/ls.js#L54-L61

vs

https://github.com/ipfs/interface-ipfs-core/blob/master/js/src/files/ls.js#L74-L92

Is this desired behaviour? Only we'll have to implement it in js-land as well if so.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions