Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-github-linguist
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: ruby-github-linguist  ]

软件包: ruby-github-linguist (7.7.0-2build1)

detection and highlight of the programming language of source code

Language detection: ruby-github-linguist defines a list of all languages known to GitHub in a yaml file. In order for a file to be highlighted, a language and a lexer must be defined there.

Syntax Highlighting: The actual syntax highlighting is handled by the Pygments wrapper, ruby-pygments.rb. It also provides a Lexer abstraction that determines which highlighter should be used on a file.

Stats: The Language stats bar that you see on every repository is built by aggregating the languages of each file in that repository. The top language in the graph determines the project's primary language.

Ignore vendored files: Checking other code into your git repo is a common practice. But this often inflates your project's language stats and may even cause your project to be labeled as another language. ruby-github-linguist is able to identify some of these files and directories and exclude them.

Generated file detection: Not all plain text files are true source files. Generated files like minified js and compiled CoffeeScript can be detected and excluded from language stats. As an extra bonus, these files are suppressed in diffs.

其他与 ruby-github-linguist 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: libruby2.7 (>= 2.7.0~preview1)
    Libraries necessary to run Ruby 2.7
  • dep: ruby (<< 1:2.8~)
    Interpreter of object-oriented scripting language Ruby (default version)
    dep: ruby (>= 1:2.7~0)
  • dep: ruby-charlock-holmes (>= 0.7.6~)
    Ruby character encoding detection library
  • dep: ruby-escape-utils (>= 1.2~)
    Faster string escaping routines for your web apps
  • dep: ruby-mini-mime (>= 1.0~)
    Lightweight mime type implementation
  • dep: ruby-rugged (>= 0.25.1~)
    Ruby binding to the libgit2 library

下载 ruby-github-linguist

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 876.8 kB4626 kB [文件列表]
armhf 874.9 kB4614 kB [文件列表]