Skip to content

Add WritablePath.copy_from() #34

@barneygale

Description

@barneygale

To support metadata transfers, we need to add a method to WritablePath that allows receivers to copy metadata from some ReadablePath source. Currently we have _copy_from(), but it's got an underscore prefix.

This will affect pathlib.Path

Perhaps the method should return an iterator that emits progress reports? If so can someone come up with a better name than iter_copy_from()? :)

See also python/cpython#131636

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions