(path string)
| 1065 | } |
| 1066 | |
| 1067 | func regularRuntimeFile(path string) bool { |
| 1068 | status, err := os.Lstat(path) |
| 1069 | return err == nil && status.Mode().IsRegular() && |
| 1070 | platformRuntimeSetFileLinkCountOne(path, status) |
| 1071 | } |
| 1072 | |
| 1073 | func runtimeSetNames(directory, binaryName string) ([]string, bool) { |
| 1074 | if !regularRuntimeFile(filepath.Join(directory, binaryName)) { |
no test coverage detected