ipfs / ipld-explorer-components

React components for https://explore.ipld.io and ipfs-webui
Other
24 stars 22 forks source link

Support Unixfs 1.5 #280

Open lidel opened 3 years ago

lidel commented 3 years ago

Explorer should show mtime and mode when present in dag-pb, to make it easy to spot difference in optional metadata.

Right now two CIDs can have the same files but different mtime/mode and Explorer does not show any hint what is different between them. We need to decide how to present those additional (optional/implicit) attributes.

Ref.

SgtPooki commented 2 years ago

@lidel i'm confused by the title vs the first line:

Explorer should show mtime and mode when present in dag-pb, to make it easy to spot difference in optional metadata.

Questions

Action items

SgtPooki commented 9 months ago

FYI that we're now using the latest version of ipfs-unixfs and should be able to do this more easily now.

js-unixfs seems to support mtime: https://github.com/search?q=repo%3Aipld%2Fjs-unixfs%20mtime&type=code