Afero
Use the same file operations with memory-backed or disk-backed Go filesystems.
spf13 · System tools
GitHub projectOpen source Open on GitHubHow to try it
In a new Go module, add github.com/spf13/afero at v1.15.0. Write a fictional note to a new memory filesystem and read it back.
What we tested
v1.15.0. Write a fictional note to a new memory filesystem and read it back. Recovered the exact synthetic text from the in-memory file.
Reviews
Rate this repoMore to explore
- LSD directory listingList local folders and files with optional tree, color and icon views.GitHub projectOpen source
- treShow a filesystem directory as a concise text tree.GitHub projectOpen source
- chezmoiKeep editable source copies of personal settings and apply them across machines.GitHub projectOpen source