pathlib-abc icon indicating copy to clipboard operation
pathlib-abc copied to clipboard

Add `PathInfo.filesize()`

Open barneygale opened this issue 7 months ago • 0 comments

In user implementations of WritablePath._copy_from(), it's often useful to know the size of the source file before starting the copy. We should add PathInfo.filesize() (or just size()?) to make this available.

barneygale avatar Apr 28 '25 20:04 barneygale