V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
wtfedc
V2EX  ›  GitHub

使用 github 搜索代码片段,结果不可靠吗

  •  
  •   wtfedc · 178 天前 · 491 次点击
    这是一个创建于 178 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://github.com/kubernetes/cri-api/blob/master/pkg/apis/runtime/v1/api.pb.go

    比如这个文件里,通过浏览器 ctrl+f 搜 GetLogPath ,是有的。用 github 右上角的在仓库内搜索,是没有的。

    1 条回复    2023-11-02 11:35:43 +08:00
    tool2d
        1
    tool2d  
       178 天前
    Beyond that, we also don't include all files in the search index: Empty files and files over 350 kiB are excluded

    估计就是太大了,被索引排除了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2438 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:04 · PVG 00:04 · LAX 09:04 · JFK 12:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.