IPFS Forums
Way to identify if a hash is a directory or a file
Help
go-ipfs
singpolyma
May 12, 2018, 1:40am
2
test "$(ipfs dag get Qm... | jq .data)" = '"CAE="'
If true, it’s a directory
Is there a easy way to list all files recursively given one hash?
show post in topic
Related topics
Topic
Replies
Views
Activity
Merkledag Node Error
Help
6
716
July 19, 2017
Sneak peek at a resource without downloading
Help
go-ipfs
,
files
2
987
October 23, 2018
Node.js - Parent Directory hash
Help
js-ipfs
,
files
1
477
October 4, 2021
Should ipfs cat dirhash work?
Help
2
427
May 23, 2017
Ipfs How to know the type and name of the file by hash code
Kubo
go-ipfs
,
ipfs-cluster
3
2527
July 2, 2018