1 个不稳定版本
| 0.1.0 | 2023年11月2日 | 
|---|
#6 in #py
6KB
91 行
📜 floc
统计您的代码库中的行数
安装
通过源代码
您可以通过手动构建项目来安装 floc。
需求
- Cargo 1.73.0 或更高版本
git clone https://github.com/interrrp/floc
cd floc
cargo install
floc 现已安装到 Cargo 的 bin 目录中。太棒了!🎉
用法
默认情况下,floc 查找包含 Rust (.rs) 文件的 src 目录
floc  # Search for .rs files in the "src" directory
您可以更改目录和扩展名
floc code               # Search in the "code" directory
floc app -e py -e html  # Search in the "app" directory for .py and .html files
许可协议
floc 使用 MIT 许可协议。
依赖关系
~3–11MB
~100K SLoC