()
| 256 | } |
| 257 | |
| 258 | func (e *windowFocusEntry) cursorOpenPath() string { |
| 259 | if e == nil { |
| 260 | return "" |
| 261 | } |
| 262 | |
| 263 | active := strings.TrimSpace(e.ActiveFile) |
| 264 | if active != "" && filepath.IsAbs(active) { |
| 265 | return active |
| 266 | } |
| 267 | |
| 268 | if trimmed := strings.TrimSpace(e.WorkspacePath); trimmed != "" { |
| 269 | return trimmed |
| 270 | } |
| 271 | |
| 272 | return "" |
| 273 | } |
| 274 | |
| 275 | var commandCatalog []commandInfo |
| 276 |
no outgoing calls
no test coverage detected