chore: 并入 iotlcm-bot 历史到 bot/(原提交 31dbc1d)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:00 +08:00
36 changed files with 3006 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
//go:build !linux
package notify
import "os"
// linkCount 在非 Linux 平台不可用(syscall.Stat_t 没有 Nlink 字段)。
// bot 实际只跑在 Linux 容器里,这里让本机测试仍可编译运行。
func linkCount(info os.FileInfo) (uint64, bool) { return 0, false }