Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

GH-128520: Read path metadata frompathlib.types.PathInfo when copying#129841

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

barneygale
Copy link
Contributor

@barneygalebarneygale commentedFeb 8, 2025
edited by bedevere-appbot
Loading

Add privatePathInfo._stat() and_xattrs() methods, which are called when copying metadata to a local path. This removes all need for theCopyReader and_LocalCopyReader classes, so we delete them. TheCopyWriter and_LocalCopyWriter classes are moved intopathlib._os, renamed toCopier andLocalCopier, and refactored so that only one copier object is created per copy operation.

This internal refactor shouldn't have any user-facing impact.

…n copyingAdd private `PathInfo._stat()` and `_xattrs()` methods, which are calledwhen copying metadata to a local path. This removes all need for the`CopyReader` and `_LocalCopyReader` classes, so we delete them. The`CopyWriter` and `_LocalCopyWriter` classes are moved into `pathlib._os`,renamed to `Copier` and `LocalCopier`, and refactored so that only onecopier object is created per copy operation.This internal refactor shouldn't have any user-facing impact.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@barneygale

[8]ページ先頭

©2009-2025 Movatter.jp