MCPcopy Index your code
hub / github.com/pytest-dev/pytest / copystat

Function copystat

src/_pytest/_py/path.py:1444–1449  ·  view source on GitHub ↗

Copy permission, last modification time, last access time, and flags from src to dst.

(src, dest)

Source from the content-addressed store, hash-verified

1442
1443
1444def copystat(src, dest):
1445 """Copy permission, last modification time,
1446 last access time, and flags from src to dst."""
1447 import shutil
1448
1449 shutil.copystat(str(src), str(dest))
1450
1451
1452def copychunked(src, dest):

Callers 1

copyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…