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

Make sure filesystem uses fields, so it can actually be instantiated #90

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

marijnfs
Copy link
Contributor

Filesystem didn't use fields but global variables, making the filesystem awkward to use. Here I change them to fields and make sure the functions take a self parameter, to make it a proper struct. This way you can e.g. instantiate two fs servers.

@Luukdegram
Copy link
Owner

This was my original intention for the file server but couldn't due to the lack of the Context parameter we added later on. So I'm very happy with this! Thanks for the work.

@Luukdegram Luukdegram merged commit 63da55b into Luukdegram:master Jun 27, 2023
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants