Skip to content

Protocol Buffers not listing on repo #6378

Closed Answered by lildude
psybers asked this question in Classification
Discussion options

You must be logged in to vote

Shouldn't this list the files above?

Nope. Protobuf files are considered data:

https://github.com/github/linguist/blob/5a0c74277548122267d84283910abd5e0b89380e/lib/linguist/languages.yml#L5282-L5293

... so are not considered by default (from "How Linguist works"):

Linguist starts by going through all the files in a repository and excludes all files that it determines to be binary data, vendored code, generated code, documentation, or are defined as data (e.g. SQL) or prose (e.g. Markdown) languages, whilst taking into account any overrides.

If you want them to count, you'll need to use the linguist-detectable override.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by psybers
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants