go-enry / go-license-detector

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

Allow for the scanning of file content #3

Closed ninnymuggins97 closed 3 years ago

ninnymuggins97 commented 4 years ago

I think it would be useful to allow the user to scan file content directly without having to scan a directory :-). So instead of having to pass a list of directories, you can just provide the file directly.

PR: https://github.com/go-enry/go-license-detector/pull/2

phanirithvij commented 3 years ago

https://github.com/go-enry/go-license-detector/pull/2

bzz commented 3 years ago

Closong as #2 is merged and released under v4.1.0.