-
Notifications
You must be signed in to change notification settings - Fork 91
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
Support for pathlib.Path.link_to() #580
Comments
Good point, thank you! |
@JD-Veiga - shall work in master now. Do you need a released version? |
Excellent and quick work! I have installed it from master. Thanks a lot. Happy new year! |
Last sensible thing I did this year ;) Happy New Year to you, too! |
Hi, Everything is running fine until I have updated one of the dependencies of my code this morning. The update has installed I have uninstalled Is there a way of adding Thank you again. |
Ok, I had thought |
I think so now that Python2 is in EOL but... everything comes back... in subtle ways... Thank you once again. |
- will fail if pathlib2 is used a in real - see #580
Ok, done. Yeah, I see Python2 used still quite a bit... seems to be unkillable. Though using |
Python 3.8 has added a new method to pathlib library:
Path.link_to()
for creating hard links (https://docs.python.org/3/library/pathlib.html#pathlib.Path.link_to). I think that it is not supported bypyfakefs
yet (v. 4.3.3).It would be nice to mock this method since it is an easy way to create hard links.
Maybe it would be a good idea to include a
FakeFilesystem.create_link()
method for creating hard links (similar toFakeFilesystem.create_symlink()
for soft links).Thank you.
The text was updated successfully, but these errors were encountered: