shantanuo
shantanuo

Reputation: 32304

How do I search for a word within repository?

For e.g. I am looking for all the words "import" and I can use the search box that returns something like this...

https://github.com/charlesdaniel/s3_uploader/search?l=python&q=import&utf8=%E2%9C%93

This lists only 8 results for s3_uploader.py file. When I checked the file, there are 12 import statements, some of those are not returned in the search. Why?

Upvotes: 2

Views: 1596

Answers (1)

VonC
VonC

Reputation: 1328712

This lists only 8 results for s3_uploader.py file. When I checked the file, there are 12 import statements

Not exactly: it shows the top height results

enter image description here

That means it isn't meant to reflect the accurate number of occurrences, but rather indicate the most prominent ones.

Upvotes: 2

Related Questions