go-enry / go-license-detector

Reliable project licenses detector.
Other
127 stars 36 forks source link

filer: add io/fs.FS Filer #21

Closed abursavich closed 2 years ago

abursavich commented 2 years ago

This adds a Filer implementation for the io/fs stdpkg introduced in go 1.16. It uses this implementation to replace the one used by FromDirectory. It also updates the version of go used in workflows to at least go 1.16.

bzz commented 2 years ago

Thank you @abursavich for the patch, it looks great to me. Will merge as soon as CI is 🟢

bzz commented 2 years ago

Windows tests seem to be failing for a while now 😞
Apparently that is at least partially due to us not handling platform-dependent newline char 🤦

That does not seem to be related to the change though, so 👍