Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependency on github.com/spf13/afero #5901

Open
fasmat opened this issue Apr 29, 2024 · 0 comments
Open

Remove dependency on github.com/spf13/afero #5901

fasmat opened this issue Apr 29, 2024 · 0 comments

Comments

@fasmat
Copy link
Member

fasmat commented Apr 29, 2024

Description

afero was used in the checkpoint and bootstrapper packages to allow for simpler testing of file system changes since it provides an in-memory file system that can be passed to functions. However the standard library provides this as well with the following two packages:

  • the FS interface in io/fs
  • the in-memory implementation of that interface MapFS in testing/fstest

Affected code

  • packages bootstrapper and checkpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant