Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit c0e2e20

Browse files
author
Alan Shaw
committed
fix: pass l option to allow long listing in go-ipfs
1 parent b315c36 commit c0e2e20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/files/ls.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ module.exports = configure(({ ky }) => {
2020
searchParams.set('stream', options.stream == null ? true : options.stream)
2121
if (options.cidBase) searchParams.set('cid-base', options.cidBase)
2222
searchParams.set('long', options.long == null ? true : options.long)
23+
// TODO: remove after go-ipfs 0.5 is released
24+
searchParams.set('l', options.long == null ? true : options.long)
2325

2426
const res = await ky.post('files/ls', {
2527
timeout: options.timeout,

0 commit comments

Comments
 (0)