github

List file sizes in GitHub


The GitHub file browser lists a file's name and info about the last commit:

GitHub file browser

Is there a way to add each file's size to these listings?


Solution

  • No, the GitHub file browser is not configurable that way.

    Getting back that extra information would mean transferring an enormous extra amount of data (for each pages of each repos) for GitHub, so I am not sure this is a feature you would see anytime soon.


    Note that 'size' is an acceptable criteria for GitHub search though (meaning that size information is there and can be used, not just for browsing files).

    element language:xml size:100

    Matches code with the word "element" that's marked as being XML and has exactly 100 bytes.