summaryrefslogtreecommitdiff
path: root/scan.go
diff options
context:
space:
mode:
Diffstat (limited to 'scan.go')
-rw-r--r--scan.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/scan.go b/scan.go
index f60f73a..e8c613d 100644
--- a/scan.go
+++ b/scan.go
@@ -86,6 +86,16 @@ func (r *repo) setGoSumStatus(s string) {
r.status.SetGoSumStatus(s)
}
+func (r *repo) checkSafeGoSumRemake() {
+ if ok, bad := r.status.CheckSafeGoSumRemake(); ok {
+ log.Info("checkSafeGoSumRemake() is safe to redo")
+ r.setGoSumStatus("SAFE")
+ } else {
+ log.Info("checkSafeGoSumRemake() is not safe. problems:", bad)
+ r.setGoSumStatus("BAD DEP")
+ }
+}
+
func scanGoSum() {
for _, repo := range me.allrepos {
latestversion := repo.status.GetLastTagVersion()