summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patchset.config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/patchset.config.go b/patchset.config.go
index ed5853b..c9ba7f0 100644
--- a/patchset.config.go
+++ b/patchset.config.go
@@ -8,6 +8,7 @@ import (
"strings"
"github.com/google/uuid"
+ "go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
"google.golang.org/protobuf/proto"
)
@@ -185,3 +186,8 @@ func (f *Forge) findPatch(newpatch *Patch) bool {
return false
}
+
+func (f *Forge) IsPatchApplied(newpatch *Patch) (*gitpb.Repo, bool) {
+ log.Info("todo: find namespace and repo for patch", newpatch.Filename)
+ return nil, false
+}