summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 07:03:17 -0600
committerJeff Carr <[email protected]>2024-12-17 07:03:17 -0600
commit3d22172fa9b58a03bb59aba0b9c730d31ec2ff3f (patch)
tree811a3eaa998e4a9c38fa3d517240bb409b386685 /main.go
parent8dd47d59e3e37b91111154c2b25d018437c3cab9 (diff)
fixes for new gitpb
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index e303214..3893087 100644
--- a/main.go
+++ b/main.go
@@ -99,12 +99,12 @@ func main() {
loop := me.repos.View.ReposSortByName()
for loop.Scan() {
repo := loop.Repo()
- if me.forge.Config.IsReadOnly(repo.GoPath()) {
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
repo.Status.SetReadOnly(true)
} else {
repo.Status.SetReadOnly(false)
}
- if me.forge.Config.IsPrivate(repo.GoPath()) {
+ if me.forge.Config.IsPrivate(repo.GetGoPath()) {
repo.Status.SetPrivate(true)
} else {
repo.Status.SetPrivate(false)