stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 172 forks source link

Add inode to FileSystemAPI #1540

Open datashaman opened 1 month ago

datashaman commented 1 month ago

It would be useful to get an inode value to use a unique key for files. Consider adding either a stats method, or shoving stats.ino into the DirEnt class (but that deviates from nodejs).

It would be a lot cheaper to have it in the DirEnt response. If it requires a separate stats call per file there will be performance issues.