aboutsummaryrefslogtreecommitdiff
path: root/lmtp_handle_patch.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-01 21:42:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-01 21:46:55 +0800
commitcf2f03ae3725453f6d16205a112263eb528607fb (patch)
tree6eb1d4b23e8570856fef3601d94b6e07847e6c0c /lmtp_handle_patch.go
parentRemove unnecessary clause in the Makefile (diff)
downloadforge-cf2f03ae3725453f6d16205a112263eb528607fb.tar.gz
forge-cf2f03ae3725453f6d16205a112263eb528607fb.tar.zst
forge-cf2f03ae3725453f6d16205a112263eb528607fb.zip
LMTP: Patch handling stub
Diffstat (limited to 'lmtp_handle_patch.go')
-rw-r--r--lmtp_handle_patch.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/lmtp_handle_patch.go b/lmtp_handle_patch.go
new file mode 100644
index 0000000..a3064d1
--- /dev/null
+++ b/lmtp_handle_patch.go
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
+package main
+
+import (
+ "log/slog"
+
+ "github.com/emersion/go-message"
+)
+
+func lmtpHandlePatch(groupPath []string, repoName string, email *message.Entity) (err error) {
+ slog.Info("Pretend like I'm handling a patch!")
+ return nil
+}