Tinche / aiofiles

File support for asyncio
Apache License 2.0
2.67k stars 149 forks source link

Async version of functions in os.path #63

Closed harryzcy closed 2 years ago

harryzcy commented 5 years ago

I think os.path function would be commonly used. Their corresponding async version is now provided. Functions of path.exist, path.isfile, path.isdir, path.getsize, path.getmtime, path.getctime, path.getatime, path.samefile, path.sameopenfile.

All of these functions are tested.

arossert commented 3 years ago

This looks very helpful @Tinche any plans merging this one?

hellocoldworld commented 3 years ago

I would love to see this merged, I found myself rewriting these functions over and over again.

Tinche commented 2 years ago

Thanks, I cleaned this up and merged it manually!