返回 last30days-skill
cache_lock_other.go
根目录 / mcp / internal / engine / cache_lock_other.go
1 //go:build !darwin && !dragonfly && !freebsd && !illumos && !linux && !netbsd && !openbsd && !windows
2
3 package engine
4
5 import (
6 "fmt"
7 "os"
8 "runtime"
9 )
10
11 func tryLockCacheFile(file *os.File) (bool, error) {
12 return false, fmt.Errorf("cache locking is unsupported on %s", runtime.GOOS)
13 }
14
14 lines GO