我想进行Sourcegraph搜索,并仅显示具有特定扩展名的文件的结果。
You can use the file:
token to filter results by filename regex. For example, file:\\.go$
would limit results to files ending in ".go" .
The full search query syntax is documented here: https://about.sourcegraph.com/docs/search/query-syntax
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.