You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go code has a convention on how to mark code as generated. Perhaps, some other languages too. It would be nice to be able to exclude generated code from the statistics.
Alternatively, there could be an option to exclude files by a regexp of the file content, so that people could do something like:
gocloc --exclude-containing='^// Code generated .* DO NOT EDIT\.$' ./src/
The text was updated successfully, but these errors were encountered:
Go code has a convention on how to mark code as generated. Perhaps, some other languages too. It would be nice to be able to exclude generated code from the statistics.
Alternatively, there could be an option to exclude files by a regexp of the file content, so that people could do something like:
gocloc --exclude-containing='^// Code generated .* DO NOT EDIT\.$' ./src/
The text was updated successfully, but these errors were encountered: