chore: 并入 iotlcm-bot 历史到 bot/(原提交 31dbc1d)
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user