示例#1
0
文件: runner.go 项目: Tsatsi/talisman
func (r *Runner) getRepoAdditions() []git_repo.Addition {
	wd, _ := os.Getwd()
	repo := git_repo.RepoLocatedAt(wd)
	return repo.Additions(r.remoteCommit, r.localCommit)
}
示例#2
0
文件: runner.go 项目: Tsatsi/talisman
func readRepoFile() func(string) ([]byte, error) {
	wd, _ := os.Getwd()
	repo := git_repo.RepoLocatedAt(wd)
	return repo.ReadRepoFileOrNothing
}