()
| 313 | const abs = [root.replace(/[\\/]+$/, ''), ...asset.path.split('/').filter(Boolean)].join(sep) |
| 314 | const currentDir = asset.path.split('/').slice(0, -1).join('/') |
| 315 | const openAsset = async (): Promise<void> => { |
| 316 | if (isDatabaseCsvPath(asset.path)) { |
| 317 | await openDatabase(asset.path) |
| 318 | return |
| 319 | } |
| 320 | await openNoteInTab(assetTabPath(asset.path)) |
| 321 | } |
| 322 | |
| 323 | const items: ContextMenuItem[] = [ |
| 324 | { |
nothing calls this directly
no test coverage detected