-
Notifications
You must be signed in to change notification settings - Fork 53
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add method to check if a given path is a directory #259
Comments
Hey! I'd like to try this. |
Thanks for the initial activity on the repo and for wanting to contribute, means a lot 😃 Note I'll assign this ticket to you, and questions let me know! |
Hi!
I'm a bit confused about which other file needs to be edited other than the path.c file, will keep looking in the meantime! |
You will also need to register it within the module at the bottom of the file, see here for some examples! |
Oh alright got it, thanks! |
Hey! So I made the changes in path.c, works well with Linux directories (tested on Ubuntu). |
Hey! Made changes to the files as you told. Could you check the pr and let me know if it's okay? |
The PR was great, thank you very much! Resolved as part of #269 |
Summary
Similar to #257, there is no way to determine whether a given path is a directory or not. I propose adding an
isdir
method to thePath
library.The text was updated successfully, but these errors were encountered: