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
Right now, SearchResultprovides URL templates for linking to individual files and line numbers within a repository, but not a URL for linking to the repository itself. If you want to get the repository URL, you have to join a SearchResult to a list request, or try to heuristically extract it from the file URL template.
I'm sure adding fields to SearchResult is not to be done lightly, but what do you think about adding this one?
The text was updated successfully, but these errors were encountered:
Of course, adding such a field presents a naming dilemma. RepoURLs is exactly what this would be - the existing thing should have been named something else.
Right now,
SearchResult
provides URL templates for linking to individual files and line numbers within a repository, but not a URL for linking to the repository itself. If you want to get the repository URL, you have to join a SearchResult to a list request, or try to heuristically extract it from the file URL template.I'm sure adding fields to SearchResult is not to be done lightly, but what do you think about adding this one?
The text was updated successfully, but these errors were encountered: