sneezry
V2EX  ›  问与答

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

  •  
  •   sneezry · Jun 22, 2014 · 3620 views
    This topic created in 4466 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   ·   Privacy   ·   Solana   ·   5912 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 105ms · UTC 03:31 · PVG 11:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.