-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
bpo-26978: Implement pathlib.Path.link_to (Using os.link) #12990
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
Changes from all commits
4335641
95aadda
51f9654
a418a80
126c89b
0852e47
3291e1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -334,6 +334,10 @@ pathlib | |||||
| contain characters unrepresentable at the OS level. | ||||||
| (Contributed by Serhiy Storchaka in :issue:`33721`.) | ||||||
|
|
||||||
| Added :meth:`pathlib.Path.link_to()` which creates a hard link pointing | ||||||
| to a path. | ||||||
| (Contributed by Joannah Nanjekye in :issue:`26978`) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
|
|
||||||
| socket | ||||||
| ------ | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| `pathlib.path.link_to()` is now implemented. It creates a hard link pointing | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be Also, double backqoutes should be used here instead of single backquotes (as per https://devguide.python.org/documenting/#inline-markup). The following could also be used: :meth:`pathlib.Path.link_to()` |
||
| to a path. | ||
Uh oh!
There was an error while loading. Please reload this page.