(s: SuggestionType, queryStr: string)
| 124 | return null; |
| 125 | } |
| 126 | const handleSelect = (s: SuggestionType, queryStr: string): boolean => { |
| 127 | if (s == null) { |
| 128 | if (isBlank(queryStr)) { |
| 129 | globalStore.set(model.openFileModal, false); |
| 130 | return true; |
| 131 | } |
| 132 | model.handleOpenFile(queryStr); |
| 133 | return true; |
| 134 | } |
| 135 | model.handleOpenFile(s["file:path"]); |
| 136 | return true; |
| 137 | }; |
| 138 | const handleTab = (s: SuggestionType, query: string): string => { |
| 139 | if (s["file:mimetype"] == "directory") { |
| 140 | return s["file:name"] + "/"; |
nothing calls this directly
no test coverage detected