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

Any more examples? #20

Open
lonnietc opened this issue Jan 20, 2023 · 1 comment
Open

Any more examples? #20

lonnietc opened this issue Jan 20, 2023 · 1 comment

Comments

@lonnietc
Copy link

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

@liamg
Copy link
Owner

liamg commented Jan 24, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants