MCPcopy Index your code
hub / github.com/CapSoftware/Cap / selectedPath

Function selectedPath

apps/desktop/src/utils/importMedia.ts:31–32  ·  view source on GitHub ↗
(result: string | string[] | null)

Source from the content-addressed store, hash-verified

29};
30
31const selectedPath = (result: string | string[] | null) =>
32 typeof result === "string" ? result : null;
33
34const maybeHideCurrentWindow = async (options?: ImportOptions) => {
35 if (options?.hideCurrentWindow) await getCurrentWindow().hide();

Callers 2

importVideoFromPickerFunction · 0.85
importImageFromPickerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected