noclued/githelper
最新稳定版本:1.2
Composer 安装命令:
composer require noclued/githelper
包简介
Helper for git extra info like 'get file names changed in last two commits', 'get new lines from last two commits', etc. You need to have accessable git!
README 文档
README
Its a simple lib for git. You need to have git available on host. Offers three methods (atm):
getFileNamesChangedSince(int $commits = 1) which will return file names
of changed files since N commits
getLineAddedToFileSince(string $fileName, int $commits = 1) which will return content
of lines ADDED since N commits
public function getLinesRemovedFromFileSince(string $fileName, int $commits = 1) which will return content
of lines REMOVED since N commits
Constructor will check if git is available and check if given path is a git repo.
统计信息
- 总下载量: 25.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-13