3 ms·
> git clone https://github.com/mozilla/firefox-ios.git https://github.com/mozilla/firefox-ios.git FireFox-ios > cloc FireFox-ios/ 1068 text files. 928 unique
by shawn-butler 11y ago
> git clone https://github.com/mozilla/firefox-ios.git https://github.com/mozilla/firefox-ios.git FireFox-ios
> cloc FireFox-ios/
1068 text files.
928 unique files.
303 files ignored.
C 1 files 10606 blank 51150 comment 94618 code
Swift 332 files 9660 blank 5808 comment 43474 code
EDIT: I give up trying to format the output correctly
- deathanatos 11y agoThe single .c file, I'm guessing is: https://github.com/mozilla/firefox-ios/blob/master/ThirdParty/sqlcipher/sqlite3.c https://github.com/mozilla/firefox-ios/blob/master/ThirdPart... It appears to be the source for sqlite3, all concatenated together, which is why it's absurdly long. And it's third party, so its not really their code, but of course the tooling can't tell that.
- Someone 11y agoI haven't checked, but chances are it is the SQLite amalgamation or a tweaked version of it. https://www.sqlite.org/amalgamation.html https://www.sqlite.org/amalgamation.html: "The standard makefiles for SQLite have a target for building an object we call the "amalgamation". The amalgamation is a single C code file, named "sqlite3.c", that contains all C code for the core SQLite library and the FTS3, FTS5, RTREE, DBSTAT, JSON1, and RBU extensions. This file contains about 184K lines of code (113K if you omit blank lines and comments) and is over 6.4 megabytes in size".