MCPcopy Create free account
hub / github.com/JunJD/alading / createObjectURL

Function createObjectURL

src/lib/fileUtils.ts:10–12  ·  view source on GitHub ↗
(file: File)

Source from the content-addressed store, hash-verified

8};
9
10export const createObjectURL = (file: File): string => {
11 return URL.createObjectURL(file);
12};
13
14export const revokeObjectURL = (url: string) => {
15 URL.revokeObjectURL(url);

Callers 1

handleFileChangeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected