diff options
author | Barney Gale <barney.gale@gmail.com> | 2024-07-20 22:32:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-20 22:32:52 (GMT) |
commit | c4c7097e64b0c9cb0081de8872b90594865c892b (patch) | |
tree | 0a0ef494b3df9b78c90f49031318cc0b4f9148a8 /Python | |
parent | 094375b9b7e087a4f0f60541dc7f2dc53be92646 (diff) | |
download | cpython-c4c7097e64b0c9cb0081de8872b90594865c892b.zip cpython-c4c7097e64b0c9cb0081de8872b90594865c892b.tar.gz cpython-c4c7097e64b0c9cb0081de8872b90594865c892b.tar.bz2 |
GH-73991: Support preserving metadata in `pathlib.Path.copytree()` (#121438)
Add *preserve_metadata* keyword-only argument to `pathlib.Path.copytree()`,
defaulting to false. When set to true, we copy timestamps, permissions,
extended attributes and flags where available, like `shutil.copystat()`.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions