sneezry
V2EX  ›  问与答

GitHub 是如何统计语言比例的?

  •  
  •   sneezry · Jun 22, 2014 · 3595 views
    This topic created in 4439 days ago, the information mentioned may be changed or developed.
    3 replies    2014-06-22 20:57:12 +08:00
    snachx
        1
    snachx  
       Jun 22, 2014   ❤️ 1
    sneezry
        2
    sneezry  
    OP
       Jun 22, 2014
    @snachx 还是没太懂,似乎优先判断文件后缀名,如果没有后缀名或者不是已知的,再找代码中某些语言的明显特征。但是上面那个repo明显有很多.css和.html文件啊。
    sneezry
        3
    sneezry  
    OP
       Jun 22, 2014
    @snachx 明白了,html不算语言,css我全写在html里面了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   946 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 20:40 · PVG 04:40 · LAX 13:40 · JFK 16:40
    ♥ Do have faith in what you're doing.