返回 DeepSeek-Reasonix
protected_state_other.go
根目录 / internal / sandbox / protected_state_other.go
1 //go:build !windows
2
3 package sandbox
4
5 func singleProtectedStateRoot(protected []string) string {
6 if len(protected) != 1 {
7 return ""
8 }
9 return protected[0]
10 }
11
11 lines GO