-
Notifications
You must be signed in to change notification settings - Fork 242
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
Cleanup: move pl.path, pl.file and pl.dir into a single module #416
Comments
hello @Tieske I'm agree all these 3 modules are related to file system features. I check the dependency graph (made 3 years ago) for pl.path was used by :
pl.dir was used by :
pl.file was not used by other pl modules I don't know if these informations are still up-to-date. maybe it should help you ... or not. Regards, |
Hello, Click to expand
The idea is that |
A side discussion that we had was whether we should split the modules for Unix-like, MacOS and Windows, since the path handling is different.
@alerque probably also has some opinions on this. |
I'm taking a lot of inspiration from https://github.com/truemedian/luvit-api-design, and I think the way it handles paths is pretty good: the |
That's a similar approach to LuaRocks, with the overriding modules: https://github.com/luarocks/luarocks/tree/master/src/luarocks/fs Though |
All of these modules have overlapping functionalities wrt to the filesystem
The text was updated successfully, but these errors were encountered: