List all properties in files-ls #12

Open
opened 2022-09-24 03:32:24 -05:00 by Ambrevar · 1 comment
Ambrevar commented 2022-09-24 03:32:24 -05:00 (Migrated from github.com)

Currently files-ls returns an Alist with useless entries (empty hash, size and type).

Easy fix:

(defun files-ls (&optional (path "/"))
  "List directories in local mutable namespace.
  /ipns/docs.ipfs.io/reference/api/http/#api-v0-files-ls"
  (ipfs-call "files/ls" `(("arg" ,path)
+                          ("long" "true"))))
Currently files-ls returns an Alist with useless entries (empty hash, size and type). Easy fix: ```diff (defun files-ls (&optional (path "/")) "List directories in local mutable namespace. /ipns/docs.ipfs.io/reference/api/http/#api-v0-files-ls" (ipfs-call "files/ls" `(("arg" ,path) + ("long" "true")))) ```
JadedCtrl commented 2022-10-06 20:33:02 -05:00 (Migrated from github.com)

Nice fix! I find your patches to nyxt very interesting, nice project you have there!

Nice fix! I find your patches to nyxt very interesting, nice project you have there!
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jadedctrl/cl-ipfs-api2#12
No description provided.