XAMPPRocky / tokei_rs

The tokei.rs server code.
Apache License 2.0
57 stars 11 forks source link

Add support for choosing branch #212

Closed elliotwutingfeng closed 1 year ago

elliotwutingfeng commented 1 year ago

Closes #211

Count lines from a specific branch by using the ?branch= query string. If ?branch= is not specified, the default HEAD branch will be used.

For example,

[![Master](https://tokei-rs.onrender.com/b1/github/mazznoer/csscolorparser-rs?branch=Master)](https://github.com/mazznoer/csscolorparser-rs)

Live Demo

Repo: https://github.com/mazznoer/csscolorparser-rs

Master

0.6.1


Issues

Currently more prone to 504 Gateway Timeouts on GitHub. Could be affected by the speed limitations of the free tier of Render I'm using?

XAMPPRocky commented 1 year ago

Thank you for your PR!