andhus / scantree

Flexible recursive directory iterator: `scandir` meets `glob("**", recursive=True)`
MIT License
13 stars 7 forks source link

Allow scantree to work on Windows #24

Closed mparanjpe closed 3 months ago

mparanjpe commented 3 months ago

The posix Python module does not exist on Windows. Consequently, import dirhash fails on Windows because of this scantree dependency.

This change allows import dirhash to succeed on Windows and calculate hashes successfully

mparanjpe commented 3 months ago

Closing as #22 already does this and more...