-
-
Notifications
You must be signed in to change notification settings - Fork 738
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
Provide property to return parent directory on DirectoryPath #2763
Comments
Sounds good, but should be a method unless we construct this at the point that the directory is created. |
Hello! I'm new to this and would like to try tackling this issue :) |
Wow that was fast! |
Awesome @LagunaElectric assigned it to you and looking forward to the PR! |
Mind if I ask for directions to DirectoryPath declaration? |
Thank you very much! I'm thinking of simply making a method there allowing one to do DirectroyPath.Parent as suggested above. |
Sounds good. Probably something like: public DirectoryPath GetParent()
{
// ...
} ? Don't forget to include unit tests in the PR! 😉 |
Will do! Apparently my VS can't find the .NET Core SDKs. Rectifying that now. |
🎉 This issue has been resolved in version v2.2.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Currently getting the parent directory of a
DirectoryPath
requires some additional steps. Having aDirectoryPath.Parent
property would be helpful.The text was updated successfully, but these errors were encountered: