Skip to content

Commit

Permalink
Update loc count library
Browse files Browse the repository at this point in the history
This version will count lines of code in each file serially. It still
runs all file system operations asynchronously. The only difference now
is that it will only count one file at a time. It is slower, but it
is able to count large repositories without running out of memory.
  • Loading branch information
Andrew Eisenberg committed May 12, 2021
1 parent 4c0671c commit ddcb299
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 19 deletions.
6 changes: 3 additions & 3 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions node_modules/github-linguist/dist/directory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/github-linguist/dist/directory.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/github-linguist/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions node_modules/github-linguist/src/directory.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"fast-deep-equal": "^3.1.3",
"file-url": "^3.0.0",
"fs": "0.0.1-security",
"github-linguist": "^2.4.0",
"github-linguist": "^2.4.2",
"js-yaml": "^3.13.1",
"jsonschema": "1.2.6",
"long": "^4.0.0",
Expand Down

0 comments on commit ddcb299

Please sign in to comment.