There is some path I couldn’t get stat of with the next code:
ipfs.files.stat('/ipfs/bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/index.html')
It seems like it’s a JS IPFS problem, because this file is opening with the official gateway and could be stated by Infura API.
In the same time I can stat other folders and files from this hash:
ipfs.files.stat('/ipfs/bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki')
Details
Stat call result for ‘/ipfs/bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/’:
{
hostname: 'bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq',
stat: {
size: 0,
cumulativeSize: 658038834798,
blocks: 5,
type: 'hamt-sharded-directory',
local: undefined,
sizeLocal: undefined,
withLocality: false,
hash: 'bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq'
}
}
Stat call result for /ipfs/bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki
:
{
size: 0,
cumulativeSize: 613715579624,
blocks: 256,
type: 'hamt-sharded-directory',
local: undefined,
sizeLocal: undefined,
withLocality: false,
hash: 'QmehSxmTPRCr85Xjgzjut6uWQihoTfqg9VVihJ892bmZCp'
}
Questions
If it’s a bug what information should I collect before filing the issue?
If it’s me doing something wrong, what information should I provide to figure this out?