MCPcopy Create free account
hub / github.com/massCodeIO/massCode / openImportFromPalette

Function openImportFromPalette

src/renderer/composables/useCommandPalette.ts:1206–1211  ·  view source on GitHub ↗
(
  source: Parameters<typeof importDialog.openImportDialog>[0],
  space?: Parameters<typeof importDialog.openImportDialog>[1],
)

Source from the content-addressed store, hash-verified

1204}
1205
1206async function openImportFromPalette(
1207 source: Parameters<typeof importDialog.openImportDialog>[0],
1208 space?: Parameters<typeof importDialog.openImportDialog>[1],
1209) {
1210 importDialog.openImportDialog(source, space)
1211}
1212
1213async function openHttpImportFromPalette() {
1214 await router.push({ name: RouterName.httpSpace })

Callers 1

getCommandDefinitionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected