IPFS Forums
Way to identify if a hash is a directory or a file
Help
IPFS
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
Is there a easy way to list all files recursively given one hash?
Help
js-ipfs
2
815
March 7, 2021
IPFS Get Hash of Uploaded directory from CLI
Help
go-ipfs
2
195
July 27, 2022
Naming system for all the local file hashes?
Help
5
1013
August 2, 2017
Merkledag Node Error
Help
6
621
July 19, 2017
Node.js - Parent Directory hash
Coding
js-ipfs
,
files
1
413
October 4, 2021