how to search a particular word or entry inside a sub folder in a repository on github

Viewed 7815

I am just looking for an example ( the correct command to fire in the advance search at github ) about searching a word inside a folder of a particular repository. I guess this will involve the "path:" option but not sure how to use it

As an example I need to search for a function name "clean" or a test case for "clean" or similar function inside the jquery test suite at the following location -
https://github.com/jquery/jquery/tree/master/test

I understand there are some filters like repo: and path: provided by github but not sure how to use them.

Also I am not satisfied with an answer posted for a similar question at - Search a github repository for the file defining a given function

I understand I can fork it to my local machine and do a search there but I don't want to download the whole repository simply to search it. I just need to search it online at the github site itself.

Thanks in advance !!

1 Answers
Related