Skip to content

fs.FS support

Compare
Choose a tag to compare
@guregu guregu released this 20 Jul 11:13
· 46 commits to main since this release
727c3fe

Thanks to wazero, we can use the Go standard library fs.FS filesystem abstraction. This lets us work with filesystems with much greater flexibility, no longer being bound to the real OS filesystem.

  • Add WithMapFS option
  • Change the semantics of WithPreopenDir to map to virtual / always, which is probably what it was trying to do before.