Rename 'Repo' -> 'Repository'

This commit is contained in:
Alexander Neumann committed 2015-05-09 23:59:58 +02:00
1 parent 232c472836
commit 95536e8a21
15 files changed
+73 -73

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ type WalkTreeJob struct {
Tree *Tree
}
func walkTree(repo *repository.Repo, path string, treeID backend.ID, done chan struct{}, jobCh chan<- WalkTreeJob) {
func walkTree(repo *repository.Repository, path string, treeID backend.ID, done chan struct{}, jobCh chan<- WalkTreeJob) {
debug.Log("walkTree", "start on %q (%v)", path, treeID.Str())
t, err := LoadTree(repo, treeID)
@@ -41,7 +41,7 @@ func walkTree(repo *repository.Repo, path string, treeID backend.ID, done chan s
// WalkTree walks the tree specified by id recursively and sends a job for each
// file and directory it finds. When the channel done is closed, processing
// stops.
func WalkTree(repo *repository.Repo, id backend.ID, done chan struct{}, jobCh chan<- WalkTreeJob) {
func WalkTree(repo *repository.Repository, id backend.ID, done chan struct{}, jobCh chan<- WalkTreeJob) {
debug.Log("WalkTree", "start on %v", id.Str())
walkTree(repo, "", id, done, jobCh)
close(jobCh)