pathlib-abc
pathlib-abc copied to clipboard
Add `PathInfo.filesize()`
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.