summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-23 09:02:51 -0600
committerJeff Carr <[email protected]>2024-02-23 09:02:51 -0600
commitec7dd061e2ef997851b39663e7ce269ca53f3eae (patch)
tree1627e73abd9239d07dd8230f8a67f181abce1659 /scan.go
parent8f4ae1a639884f0e03e3d6d9a99cf5528d80cd63 (diff)
rename to repolist.RepoRow
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