V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
flyn
V2EX  ›  问与答

请问这种 Github 链接是如何取得的

  •  
  •   flyn · 2022-01-11 15:26:37 +08:00 · 1122 次点击
    这是一个创建于 828 天前的主题,其中的信息可能已经有所发展或是发生改变。

    打算考据一下 Microsoft Yahei Mono 字体的出处时,搜到了这样一条链接:

    https://github.com/Microsoft/vscode/files/555425/yahei_mono.zip

    我以 555425yahei_mono 作为关键字在仓库 https://github.com/Microsoft/vscode 中搜索,但是什么都没有搜到。

    就非常好奇,这种形式的文件直链(https://github.com/user/repo/files/id/filename)是如何找到的?有大佬解答一下吗?

    3 条回复    2022-01-11 15:49:52 +08:00
    anzu
        1
    anzu  
       2022-01-11 15:45:08 +08:00   ❤️ 3
    flyn
        2
    flyn  
    OP
       2022-01-11 15:49:48 +08:00
    @anzu 感谢,Google 搜一下也出来了。我好笨耶
    lichdkimba
        3
    lichdkimba  
       2022-01-11 15:49:52 +08:00
    那岂不是可以伪装成大厂的文件做坏事??
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5238 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.