Skip to main content

Module scope

Module scope 

Source
Expand description

Searches limited to named repositories. Each repository becomes one repo: qualifier, which GitHub combines with OR, and the qualifiers are split across as many searches as GitHub’s query length limit needs.

Constants§

MAX_QUERY_CHARS
GitHub’s longest search query.
SECTION_ITEMS
A section shows at most this many items, as one GraphQL search page.

Functions§

check_search_text
Repository search text: at most 256 characters, no control characters.
merge
One section from the answers of its searches: their counts added up, and the most recently updated items, each once.
searches
The searches that make up one section: one account-wide search without repos; with repos, one search per chunk of repo: qualifiers, and none for an empty list. Every name must be owner/name.