5 ms·
No, it works for other repostiories. Probably Github uses cloc. I downloaded the code (over 500MB, insane!) and cloc throws an error.
by szatkus 10y ago
No, it works for other repostiories.
Probably Github uses cloc. I downloaded the code (over 500MB, insane!) and cloc throws an error.
- steveklabnik 10y ago> and cloc throws an error tokei is a similar program that's parallel, and written in Rust. It takes 11 seconds to run on my machine, and shows https://gist.github.com/steveklabnik/b4ede6f13c9d609edc61d7421e0af1b1 https://gist.github.com/steveklabnik/b4ede6f13c9d609edc61d74... (using a gist since the output is huge, and see Manish's comment as well)
- Manishearth 10y agoThis is including the cargo cache dir?
- steveklabnik 10y agoI built Servo last week, I ran "git fetch upstream && git reset --hard upstream/master && git submodule update" and then "tokei .". So, unless Servo puts its cache in the dir, I would guess not, no.
- Manishearth 10y agoI think by default servo does put the cache in the dir. So yeah, this would be an accurate estimate. Though not all that rust code is written specifically for servo, and a lot of that C/++ code is winapi and skia. winapi is autogenerated, and skia isn't used by default anymore iirc.
- szatkus 10y agoNeat. Problem with code in Rust, resolved by project in Rust :)