我可以在github.com上进行通配符(*)搜索吗? [英] Can I do a wildcard (*) search on github.com?

查看:242
本文介绍了我可以在github.com上进行通配符(*)搜索吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想搜索一个仓库以查找以 * Test.java * 结尾的任何文件,但是如果我搜索 * Test.java * 我只是得到包含该字符串的文件。



我无法找到任何可能的信息。这只是由于索引这么大量的数据的限制吗?



我想找到一种方法来搜索以<$ c结尾的所有类的回购$ c $> Test 。

解决方案

在资源库中查找文件的最简单方法是使用文件查找器。您可以随时通过按 t 在存储库视图中激活它。从官方公告中查看此截图:



文件查找器将使用您输入到搜索框中的字符执行一些模糊匹配。


I want to search a repository for any files that end in *Test.java* but if I search for *Test.java* I just get files that contain that exact string.

I can't find any information anywhere that suggests this is possible. Is this just due to limitations of indexing such an enormous amount of data?

I'd like to find a way to search a repo for all classes ending in Test.

解决方案

The easiest way to find a file in a repository is to use the file finder. You can activate it at any time when you are in repository view by pressing t. See this screenshot from the official annoucement:

The file finder will perform some fuzzy matching using the characters you input into the "search box".

这篇关于我可以在github.com上进行通配符(*)搜索吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆