()
| 189 | } |
| 190 | |
| 191 | func GetRootDir() string { |
| 192 | _, filename, _, _ := runtime.Caller(0) |
| 193 | utilDir := filepath.Dir(filename) |
| 194 | paths, _ := filepath.Split(utilDir) |
| 195 | return paths |
| 196 | } |
| 197 | |
| 198 | func ToPtr[T any](arg T) *T { |
| 199 | return &arg |
nothing calls this directly
no outgoing calls
no test coverage detected