memoryfs icon indicating copy to clipboard operation
memoryfs copied to clipboard

Any more examples?

Open lonnietc opened this issue 2 years ago • 1 comments

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

lonnietc avatar Jan 20 '23 15:01 lonnietc

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

liamg avatar Jan 24 '23 09:01 liamg