summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/scan.go b/scan.go
index de876e3..f2e80ea 100644
--- a/scan.go
+++ b/scan.go
@@ -12,7 +12,7 @@ func (r *RepoList) SetAutoScan(b bool) {
me.autoScan = b
}
-func (r *RepoList) RegisterHideFunction(f func(*Repo)) {
+func (r *RepoList) RegisterHideFunction(f func(*RepoRow)) {
me.hideFunction = f
}
@@ -48,7 +48,7 @@ func (r *RepoList) ScanRepositories() (int, string) {
return i, s
}
-func (r *Repo) NewScan() bool {
+func (r *RepoRow) NewScan() bool {
if r.Status == nil {
log.Warn("repo.Status = nil. not initialized for some reason")
return false