memoryfs
memoryfs copied to clipboard
Any more examples?
Hello,
I recently came across this project and was wondering if you had any more examples that might use some of the other finctions?
fs.GlobFS fs.ReadDirFS as well as to how you fs.WriteDirFS fs.StatFS fs.SubFS
I am also particularly interested in reading/writing directories and putting files within those directories as wells as getting statfs on the filesystem total, fora directory, and file so that I can learn how it is done.
Thanks
Hey @lonnietc - you can find some examples of those in the tests - hopefully this is what you're after: https://github.com/liamg/memoryfs/blob/master/fs_test.go