TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask Github: Add file size or LOC

5 pointsby imd23over 11 years ago
I'd be extremely useful if github displayed the file size or LOC in the folder's index.

2 comments

rpedelaover 11 years ago
Why aren&#x27;t you asking GitHub directly?<p><a href="https://github.com/contact" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;contact</a>
dxmover 11 years ago
GitHub shows the file size and SLOC for each file individually. If you want see the SLOC for an entire project, you could clone it and run something like the following from the root of the project directory:<p><pre><code> find . -name &#x27;*.&lt;ext&gt;&#x27; | xargs wc -l</code></pre>