Skip to content
GitmoapAPIBeta
Schema

LanguageSlice

One language's share of a breakdown.

Shape

  • bytesinteger · int64Bytes attributed to this language. Authoritative; share is a convenience.
  • filesinteger · int64How many files contributed.
  • languagestringThe language's name, as the vocabulary spells it.
  • sharenumber · doublePercentage of total_bytes, to two places.
  • typestringprogramming or markup — the only two kinds that reach a breakdown.
  • colorstring or nulloptionalThe CSS colour upstream renders this language with, when it defines one.

Example

Synthesized example
{
"bytes": 54,
"files": 16,
"language": "language-ad3f",
"share": 32,
"type": "type-1e49",
"color": "color-53b4"
}

Graph

Contains

No named schema inside.

Used by