changie icon indicating copy to clipboard operation
changie copied to clipboard

Switch to the new fs.FS over afero.FS

Open miniscruff opened this issue 4 years ago • 0 comments

https://tip.golang.org/pkg/io/fs/ https://golang.org/pkg/testing/fstest/#MapFS to test

  • [ ] Remove afero as a dependency
  • [ ] Create interfaces for writing files as fs.FS does not include writing details. os has functions to write files though.
  • [ ] Create a struct to handle mocking writes for tests to extend the memfs but with write interfaces.

miniscruff avatar Feb 13 '21 23:02 miniscruff

May be part of a rewrite later

miniscruff avatar Aug 28 '22 05:08 miniscruff