summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 01:55:09 -0600
committerJeff Carr <[email protected]>2024-12-17 01:55:09 -0600
commite8de69e5a9fe98b5b234dbc345378c987040e46c (patch)
tree1f5919798b6d615728c54232ded35b04c6807560 /clone.go
parent232477808f270c3940bf244dcca1ca9f54c5b6bc (diff)
IsValid() became IsValidDir()
Diffstat (limited to 'clone.go')
-rw-r--r--clone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clone.go b/clone.go
index e0ee77e..d821f63 100644
--- a/clone.go
+++ b/clone.go
@@ -22,7 +22,7 @@ func clone(gopath string) (*gitpb.Repo, error) {
// pb, _ := forge.NewGoPath(gopath)
check := forge.Repos.FindByGoPath(gopath)
if check != nil {
- if check.IsValid() {
+ if check.IsValidDir() {
// repo already exists and is valid
return check, nil
}