如何在 GitHub 上搜索 RubySpec?
How can I search RubySpec on GitHub?
我试图在 GitHub 上的 RubySpec 中找到 String#split
的规范。 (原来是core/string/split_spec.rb
。)
如果我尝试 searching on ruby/rubyspec,我会被告知
Sorry, forked repositories are not currently searchable.
You could try searching the parent repository.
尝试在父存储库 rubyspec/rubyspec
上进行链接搜索,我得到
We couldn’t find any code matching 'string split'
You could try an advanced search.
然而,rubyspec/rubyspec
的 advanced search doesn't seem to have any ability to search the archive branch 中有实际代码(master 分支只有一个 README
文件)。
我确认 GitHub 上的搜索仅限于 master
非分叉回购的分支。
参见“How to search for a commit message in GitHub?”。
您需要制作该存储库的副本(不是分支)并将其发布到 GitHub 上才能使用 GitHub 搜索。
或者您可以执行 grep search on all branches in a local clone.
我试图在 GitHub 上的 RubySpec 中找到 String#split
的规范。 (原来是core/string/split_spec.rb
。)
如果我尝试 searching on ruby/rubyspec,我会被告知
Sorry, forked repositories are not currently searchable.
You could try searching the parent repository.
尝试在父存储库 rubyspec/rubyspec
上进行链接搜索,我得到
We couldn’t find any code matching 'string split'
You could try an advanced search.
然而,rubyspec/rubyspec
的 advanced search doesn't seem to have any ability to search the archive branch 中有实际代码(master 分支只有一个 README
文件)。
我确认 GitHub 上的搜索仅限于 master
非分叉回购的分支。
参见“How to search for a commit message in GitHub?”。
您需要制作该存储库的副本(不是分支)并将其发布到 GitHub 上才能使用 GitHub 搜索。
或者您可以执行 grep search on all branches in a local clone.