Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support symlinks and other types in ls #27

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update ipfsspec/core.py
Co-authored-by: Tobias Kölling <tobi@die70.de>
  • Loading branch information
Erotemic and d70-t authored Oct 17, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 884147aba7c06c3c080f3cf7f254673ca65573fd
2 changes: 1 addition & 1 deletion ipfsspec/core.py
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ def ls(self, path, detail=True, **kwargs):
# Documentation for the type codes doesn't seem to have a great location.
# Currently 2023-10-17, the ls API docs specify the ls return
# structure, but not what the type integers mean:
# http://docs.ipfs.tech.ipns.localhost:8080/reference/kubo/rpc/#api-v0-ls
# http://docs.ipfs.tech/reference/kubo/rpc/#api-v0-ls
# Some information about type codes can be found here:
# https://ipfs-search.readthedocs.io/en/latest/ipfs_datatypes.html
# https://github.com/ipfs/go-unixfs/blob/master/pb/unixfs.proto