findit

Fild files

View project on GitHub

Lines path method

The lines method is used to convert the content of a file to a list of lines.

For example:

findit -w 'me.lines().first() = "package"'

will show all the files in which the first line is “package”.