UpdateLocalCopyBranch makes sure local copy of repository in given branch is up-to-date.
(branch string)
| 697 | |
| 698 | // UpdateLocalCopyBranch makes sure local copy of repository in given branch is up-to-date. |
| 699 | func (r *Repository) UpdateLocalCopyBranch(branch string) error { |
| 700 | return UpdateLocalCopyBranch(r.RepoPath(), r.LocalCopyPath(), branch, false) |
| 701 | } |
| 702 | |
| 703 | // PatchPath returns corresponding patch file path of repository by given issue ID. |
| 704 | func (r *Repository) PatchPath(index int64) (string, error) { |
no test coverage detected